deprecate prefix commands

This commit is contained in:
SowinskiBraeden committed 2022-08-06 10:19:41 -07:00
1 parent 0d69c6c79d
commit 88f89eae11
29 files changed
+34 -1012

No files matched your search

-5
View File
@@ -29,11 +29,6 @@ module.exports = (client, guild) => {
await GuildAPI.commands.post({ data: dataStuff });
} catch (e) {
client.log('Error: API missing permissions, re-invite the bot');
// Forces bot to leave server
let guildID = client.guilds.cache.get(guild);
if (guildID) guildID.leave();
client.log(`Server stats is now down to ${client.guilds.cache.size}`);
}
});
});