7.7 BETA 3
This commit is contained in:
1 parent
dd4b53800e
commit
c1a1839457
5 files changed
+25
-25
No files matched your search
+5
-5
@@ -96,7 +96,7 @@ module.exports = new Event("ready", async (client, interaction) => {
|
||||
supportbot.LeaveChannel,
|
||||
supportbot.TranslateLogChannel
|
||||
];
|
||||
const categories = [supportbot.TicketCategory];
|
||||
//const categories = [supportbot.TicketCategory];
|
||||
|
||||
const missingC = [];
|
||||
const missingR = [];
|
||||
@@ -112,10 +112,10 @@ module.exports = new Event("ready", async (client, interaction) => {
|
||||
const find = await getRole(r, client.guilds.cache.first());
|
||||
if (!find) missingR.push(r);
|
||||
}
|
||||
for (let cat of categories) {
|
||||
const find = await getCategory(cat, client.guilds.cache.first());
|
||||
if (!find) missingCat.push(cat);
|
||||
}
|
||||
// for (let cat of categories) {
|
||||
// const find = await getCategory(cat, client.guilds.cache.first());
|
||||
// if (!find) missingCat.push(cat);
|
||||
// }
|
||||
|
||||
if (missingR.length > 0) {
|
||||
console.log(
|
||||
|
||||
Reference in new issue
Block a user