clean code

This commit is contained in:
SowinskiBraeden committed 2022-10-14 10:16:38 -07:00
1 parent 2dd59c2fa1
commit 4843950e50
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -6,7 +6,7 @@ module.exports = async (client) => {
client.user.setPresence({
status: client.config.Presence.status, // You can show online, idle, and dnd
});
client.log(`Successfully Logged in as ${client.user.tag}`); // You can change the text if you want, but DO NOT REMOVE "client.user.tag"
client.log(`Successfully Logged in as ${client.user.tag}`);
client.log(`Ready to serve in ${client.channels.cache.size} channels on ${client.guilds.cache.size} servers, for a total of ${client.users.cache.size} users.`)
client.RegisterSlashCommands();
};
+1 -1
View File
@@ -151,7 +151,7 @@ class QuarksBot extends Client {
// Calls register for guild and global commands
RegisterSlashCommands() {
RegisterGlobalCommands(this);
this.guilds.cache.forEach((guild) => {RegisterGuildCommands(this, guild.id)});
this.guilds.cache.forEach((guild) => RegisterGuildCommands(this, guild.id));
}
async GetGuild(GuildId) {