mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-04 06:28:53 +00:00
fix: Make commands inaccessible in direct messages
This commit is contained in:
1 parent
3c85841b87
commit
a4e7931dae
12 files changed
+19
-7
No files matched your search
@@ -6,7 +6,8 @@ const { embedColors, progressBarOptions } = require('../config.json');
|
||||
module.exports = {
|
||||
data: new SlashCommandBuilder()
|
||||
.setName('nowplaying')
|
||||
.setDescription('Show information about the track currently playing.'),
|
||||
.setDescription('Show information about the track currently playing.')
|
||||
.setDMPermission(false),
|
||||
run: async ({ interaction }) => {
|
||||
if (!interaction.member.voice.channel) {
|
||||
return await interaction.editReply({
|
||||
|
||||
Reference in new issue
Block a user