From 4843950e509bf6ebca60c89a85122a511cab1525 Mon Sep 17 00:00:00 2001 From: Braeden Sowinski Date: Fri, 14 Oct 2022 10:16:38 -0700 Subject: [PATCH] clean code --- events/ready.js | 2 +- structures/QuarksBot.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/events/ready.js b/events/ready.js index 36a5f0e..74c9546 100644 --- a/events/ready.js +++ b/events/ready.js @@ -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(); }; \ No newline at end of file diff --git a/structures/QuarksBot.js b/structures/QuarksBot.js index 04baad4..4f5af85 100644 --- a/structures/QuarksBot.js +++ b/structures/QuarksBot.js @@ -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) {