fix: Make commands inaccessible in direct messages

This commit is contained in:
Marius Begby committed 2023-07-13 15:42:07 +02:00
1 parent 3c85841b87
commit a4e7931dae
12 files changed
+19 -7

No files matched your search

+2 -1
View File
@@ -8,7 +8,8 @@ module.exports = {
.setName('leave')
.setDescription(
'Clear the track queue and remove the bot from voice channel.'
),
)
.setDMPermission(false),
// todo, allow command to be executed if bot is only member in voice channel
run: async ({ interaction }) => {