SB-6.1-PRE
This commit is contained in:
1 parent
b1fdbee5f8
commit
c116e6cbb0
11 files changed
+27
-7
No files matched your search
@@ -87,6 +87,7 @@ module.exports = {
|
||||
}
|
||||
|
||||
// Ticket Created, Message Sent
|
||||
SupportTicket.send(`<@${message.author.id}>`)
|
||||
const TicketMessage = new Discord.MessageEmbed()
|
||||
.setTitle(supportbot.Ticket_Title.replace(/%ticketauthor%/g, message.author.id).replace(/%ticketid%/g, SupportTicket.id).replace(/%ticketusername%/g, message.author.username))
|
||||
.setDescription(supportbot.TicketMessage.replace(/%ticketauthor%/g, message.author.id).replace(/%ticketid%/g, SupportTicket.id).replace(/%ticketusername%/g, message.author.username))
|
||||
@@ -145,6 +146,7 @@ module.exports = {
|
||||
.setTitle(`> Thank for reaching out to the **${supportbot.DepartmentTitle_1} Department**. Please provide us information regarding your query.`)
|
||||
.setColor(supportbot.EmbedColour)
|
||||
SupportTicket.send({ embed: Department1 });
|
||||
SupportTicket.send(`@here`)
|
||||
|
||||
}
|
||||
|
||||
@@ -162,9 +164,10 @@ module.exports = {
|
||||
}
|
||||
|
||||
const Department2 = new Discord.MessageEmbed()
|
||||
.setTitle(`> Thank for reaching out to the **${supportbot.DepartmentTitle_2} Department**. Please provide us information regarding your query.`)
|
||||
.setTitle(`> Thank for reaching out to the **${supportbot.DepartmentTitle_2} Department**. Please provide us information regarding your query.`)
|
||||
.setColor(supportbot.EmbedColour)
|
||||
SupportTicket.send({ embed: Department2 });
|
||||
SupportTicket.send(`@here`)
|
||||
|
||||
}
|
||||
|
||||
@@ -186,6 +189,7 @@ module.exports = {
|
||||
.setTitle(`> Thank for reaching out to the **${supportbot.DepartmentTitle_3} Department**. Please provide us information regarding your query.`)
|
||||
.setColor(supportbot.EmbedColour)
|
||||
SupportTicket.send({ embed: Department3 });
|
||||
SupportTicket.send(`@here`)
|
||||
}
|
||||
return [Emoji_1, Emoji_2, Emoji_3].includes(reaction.emoji.name) && user.id !== message.author.id;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user