This commit is contained in:
ItzEmerald committed 2022-06-16 22:12:14 +01:00
1 parent da7b6d487c
commit 5e38573aed
12 files changed
+760 -154

No files matched your search

+5 -9
View File
@@ -34,7 +34,7 @@ module.exports = new Event("ready", async (client, interaction) => {
console.log(` `);
console.log(
`\u001b[33m`,
`${supportbot.Name} v${supportbot.SupportBot_Version}`,
`${supportbot.Name} | v${supportbot.SupportBot_Version}`,
`\u001b[36m`,
`Connected to Discord`
);
@@ -74,14 +74,10 @@ module.exports = new Event("ready", async (client, interaction) => {
console.log(`\u001b[37m`, `SupportBot proudly created by Emerald Services`);
console.log(` `);
console.log(`\u001b[31m`, `――――――――――――――――――――――――――――――――――――――――――――`);
if (client.guilds.cache.size !== 1) {
console.log(
`\u001b[31m`,
`${client.user.username} must be in only 1 server. Please join this server, leave any others, and restart the bot.`
);
console.log(`\u001b[31m`, `${client.user.username} will now exit.`);
return process.exit(1);
}
const roles = [
supportbot.Admin,
supportbot.Staff,