mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-15 00:12:38 +02:00
Join/Leave should be guildOnly
This commit is contained in:
@@ -8,6 +8,7 @@ module.exports = class JoinCommand extends Command {
|
||||
group: 'voice',
|
||||
memberName: 'join',
|
||||
description: 'Joins your voice channel.',
|
||||
guildOnly: true,
|
||||
guarded: true,
|
||||
userPermissions: ['CONNECT']
|
||||
});
|
||||
|
||||
@@ -8,6 +8,7 @@ module.exports = class LeaveCommand extends Command {
|
||||
group: 'voice',
|
||||
memberName: 'leave',
|
||||
description: 'Leaves the current voice channel.',
|
||||
guildOnly: true,
|
||||
guarded: true,
|
||||
userPermissions: ['MOVE_MEMBERS']
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user