aboutsummaryrefslogtreecommitdiff
path: root/commands/join.js
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2022-07-09 22:14:38 -0400
committerAndrew Lee <alee14498@protonmail.com>2022-07-09 22:14:38 -0400
commitd7e4cf29e6fc6b8f4ba07e837dcf56b3f5d63afc (patch)
treea6fd714025ec7fe78bd89d45d7f0fa36bc8f73aa /commands/join.js
parent4c26fbcb7e1674d5ccbb5468a32cd4a2bc2a315b (diff)
downloadDLAP-d7e4cf29e6fc6b8f4ba07e837dcf56b3f5d63afc.tar.gz
DLAP-d7e4cf29e6fc6b8f4ba07e837dcf56b3f5d63afc.tar.bz2
DLAP-d7e4cf29e6fc6b8f4ba07e837dcf56b3f5d63afc.zip
ESLint
Diffstat (limited to 'commands/join.js')
-rw-r--r--commands/join.js24
1 files changed, 12 insertions, 12 deletions
diff --git a/commands/join.js b/commands/join.js
index 42f3e1c..b309f97 100644
--- a/commands/join.js
+++ b/commands/join.js
@@ -19,17 +19,17 @@
*
***************************************************************************/
-import { SlashCommandBuilder } from '@discordjs/builders'
-import { voiceInit } from '../AudioBackend.js'
-import { PermissionFlagsBits } from 'discord-api-types/v10'
+import { SlashCommandBuilder } from '@discordjs/builders';
+import { voiceInit } from '../AudioBackend.js';
+import { PermissionFlagsBits } from 'discord-api-types/v10';
export default {
- data: new SlashCommandBuilder()
- .setName('join')
- .setDescription('Joins voice chat')
- .setDefaultMemberPermissions(PermissionFlagsBits.Administrator),
- async execute(interaction, bot) {
- await interaction.reply({ content: 'Joining voice channel', ephemeral: true })
- return await voiceInit(bot);
- },
-}; \ No newline at end of file
+ data: new SlashCommandBuilder()
+ .setName('join')
+ .setDescription('Joins voice chat')
+ .setDefaultMemberPermissions(PermissionFlagsBits.Administrator),
+ async execute (interaction, bot) {
+ await interaction.reply({ content: 'Joining voice channel', ephemeral: true });
+ return await voiceInit(bot);
+ }
+};