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
+2
-1
@@ -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 }) => {
|
||||
|
||||
Reference in new issue
Block a user