aboutsummaryrefslogtreecommitdiff
path: root/Commands
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2024-02-17 00:57:25 -0500
committerAndrew Lee <alee14498@protonmail.com>2024-02-17 01:00:20 -0500
commit206ff4043839c87da84dfc384d9e96df0133ca8c (patch)
treec2c596bccc4100f5598736f7ae864d8792421f83 /Commands
parentc2fc23abcf638d52ec63e8f00e0909e2ff82c029 (diff)
downloadDLAP-206ff4043839c87da84dfc384d9e96df0133ca8c.tar.gz
DLAP-206ff4043839c87da84dfc384d9e96df0133ca8c.tar.bz2
DLAP-206ff4043839c87da84dfc384d9e96df0133ca8c.zip
forgot this
Diffstat (limited to 'Commands')
-rw-r--r--Commands/status.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/Commands/status.js b/Commands/status.js
index ee02126..c11105c 100644
--- a/Commands/status.js
+++ b/Commands/status.js
@@ -32,7 +32,7 @@ export default {
.setName('status')
.setDescription('Checks what audio file is playing currently'),
async execute(interaction, bot) {
- if (!interaction.member.voice.channel) return await interaction.reply({ content: 'You need to be in a voice channel to use this command.', ephemeral: true });
+ if (!interaction.member.voice.channel) return await interaction.reply({ content: t('voicePermission'), ephemeral: true });
let audioID = currentTrack;
audioID++;