From 626cef85162b08c1808d8f88b5b245060ff0dd54 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Sun, 10 Jul 2022 01:05:59 -0400 Subject: Added another eslint rule --- bot.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bot.js') diff --git a/bot.js b/bot.js index 15dd663..cbad4a9 100644 --- a/bot.js +++ b/bot.js @@ -44,7 +44,7 @@ for (const file of commandFiles) { bot.commands.set(command.data.name, command); } -bot.once('ready', async () => { +bot.once('ready', async() => { console.log('Bot is ready!'); console.log(`Logged in as ${bot.user.tag}!`); console.log(`Running on Discord.JS ${version}`); @@ -73,7 +73,7 @@ bot.once('ready', async () => { if (!statusChannel) return console.error('The status channel does not exist! Skipping.'); await statusChannel.send({ embeds: [readyEmbed] }); - await voiceInit(bot); + return await voiceInit(bot); }); bot.on('interactionCreate', async interaction => { -- cgit v1.2.3