clean code
This commit is contained in:
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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();
|
||||
};
|
||||
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user