Join/Leave should be guildOnly

This commit is contained in:
Dragon Fire
2020-05-05 17:13:10 -04:00
parent bb6ef5bdac
commit 0e8a1b2fd4
3 changed files with 3 additions and 1 deletions
+1
View File
@@ -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']
});
+1
View File
@@ -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']
});
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiao",
"version": "114.5.0",
"version": "114.5.1",
"description": "Your personal server companion.",
"main": "Xiao.js",
"scripts": {