Added 3 new settings in supportbot.yml for more customization
This commit is contained in:
1 parent
eab11361cb
commit
38da72ca91
6 files changed
+2064
-16
No files matched your search
@@ -102,6 +102,9 @@ module.exports = new Event("ready", async (client, interaction) => {
|
||||
const missingR = [];
|
||||
const missingCat = [];
|
||||
for (let c of channels) {
|
||||
if ((c === supportbot.SuggestionChannel && supportbot.DisableSuggestionsChannel) || c === supportbot.TicketLog && supportbot.DisableTicketLogChannel) {
|
||||
continue;
|
||||
}
|
||||
const find = await getChannel(c, client.guilds.cache.first());
|
||||
if (!find) missingC.push(c);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user