Rename
This commit is contained in:
1 parent
cddd5d0026
commit
6c14a6a06c
2 files changed
+2
-6
No files matched your search
@@ -58,9 +58,7 @@ module.exports = new Command({
|
|||||||
interaction.member.roles.cache.has(SupportStaff.id) ||
|
interaction.member.roles.cache.has(SupportStaff.id) ||
|
||||||
interaction.member.roles.cache.has(Admins.id)
|
interaction.member.roles.cache.has(Admins.id)
|
||||||
) {
|
) {
|
||||||
if (
|
if (!interaction.channel.name.startsWith(`${supportbot.TicketPrefix}`)) {
|
||||||
!interaction.channel.name.startsWith(`${supportbot.TicketChannel}-`)
|
|
||||||
) {
|
|
||||||
const Exists = new Discord.MessageEmbed()
|
const Exists = new Discord.MessageEmbed()
|
||||||
.setTitle("No Ticket Found!")
|
.setTitle("No Ticket Found!")
|
||||||
.setDescription(`${supportbot.NoValidTicket}`)
|
.setDescription(`${supportbot.NoValidTicket}`)
|
||||||
@@ -58,9 +58,7 @@ module.exports = new Command({
|
|||||||
interaction.member.roles.cache.has(SupportStaff.id) ||
|
interaction.member.roles.cache.has(SupportStaff.id) ||
|
||||||
interaction.member.roles.cache.has(Admins.id)
|
interaction.member.roles.cache.has(Admins.id)
|
||||||
) {
|
) {
|
||||||
if (
|
if (!interaction.channel.name.startsWith(`${supportbot.TicketPrefix}`)) {
|
||||||
!interaction.channel.name.startsWith(`${supportbot.TicketChannel}-`)
|
|
||||||
) {
|
|
||||||
const Exists = new Discord.MessageEmbed()
|
const Exists = new Discord.MessageEmbed()
|
||||||
.setTitle("No Ticket Found!")
|
.setTitle("No Ticket Found!")
|
||||||
.setDescription(`${supportbot.NoValidTicket}`)
|
.setDescription(`${supportbot.NoValidTicket}`)
|
||||||
Reference in new issue
Block a user