diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2022-07-10 01:05:59 -0400 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2022-07-10 01:05:59 -0400 |
| commit | 626cef85162b08c1808d8f88b5b245060ff0dd54 (patch) | |
| tree | 7a1c6acfd3e2667fadafcff1536d55589b71d3da /bot.js | |
| parent | e5020f2c6231f11785725e286c5155fcbeeaccd7 (diff) | |
| download | DLAP-626cef85162b08c1808d8f88b5b245060ff0dd54.tar.gz DLAP-626cef85162b08c1808d8f88b5b245060ff0dd54.tar.bz2 DLAP-626cef85162b08c1808d8f88b5b245060ff0dd54.zip | |
Added another eslint rule
Diffstat (limited to 'bot.js')
| -rw-r--r-- | bot.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 => { |
