Added 3 new settings in supportbot.yml for more customization

This commit is contained in:
BuildTools committed 2022-06-18 11:19:12 +09:30
1 parent eab11361cb
commit 38da72ca91
6 files changed
+2064 -16

No files matched your search

+10 -8
View File
@@ -311,14 +311,16 @@ module.exports = new Command({
interaction.guild
);
await ticketChannel.setParent(TicketCat.id, { lockPermissions: false });
await ticketChannel.send({
embeds: [
{
description: `> Thank for reaching out to the **${title} Department**. Please provide us information regarding your query.`,
color: supportbot.EmbedColour,
},
],
});
if (supportbot.AllowThanksForReachingOutMessage) {
await ticketChannel.send({
embeds: [
{
description: `> Thank for reaching out to the **${title} Department**. Please provide us information regarding your query.`,
color: supportbot.EmbedColour,
},
],
});
}
}
if (supportbot.AllowTicketMentions) {
await ticketChannel.send("@here");