From 83e4c8679c656ecb352ddc34d5dced9518ba240a Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Thu, 7 Jul 2022 23:49:37 -0400 Subject: New shuffling system (not bug free yet); Tweaks and fixes on other commands --- bot.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'bot.js') diff --git a/bot.js b/bot.js index 0871112..75a217c 100644 --- a/bot.js +++ b/bot.js @@ -23,14 +23,13 @@ import { voiceInit } from './AudioBackend.js' import { readdirSync } from 'node:fs' import config from './config.json' assert { type: 'json' } -export const bot = new Client({intents: ['GUILDS', 'GUILD_MESSAGES', 'GUILD_VOICE_STATES']}); +const bot = new Client({intents: ['GUILDS', 'GUILD_MESSAGES', 'GUILD_VOICE_STATES']}); bot.login(config.token); /** * Project Ideas: - * New queue system * Shuffle or "Play by order" mode * Audio streaming */ @@ -92,7 +91,7 @@ bot.on('interactionCreate', async interaction => { if (e == null) { await interaction.reply({ content: 'There was an error while executing this command!', ephemeral: true }); } else { - await interaction.reply({ content: `There was an error while executing this command! Share this to the bot owner!\n\nDetails:\`\`\`${e}\`\`\``, ephemeral: true }); + await interaction.reply({ content: `There was an error while executing this command!\nShare this to the bot owner!\n\nDetails:\`\`\`${e}\`\`\``, ephemeral: true }); } } }); -- cgit v1.2.3