diff options
Diffstat (limited to 'commands/play.js')
| -rw-r--r-- | commands/play.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/commands/play.js b/commands/play.js index fd8132c..3b226ec 100644 --- a/commands/play.js +++ b/commands/play.js @@ -38,6 +38,7 @@ export default { .setDefaultMemberPermissions(PermissionFlagsBits.Administrator), 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 }); integer = interaction.options.getInteger('int'); if (integer) { if (integer < files.length) { |
