mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +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']
|
||||
});
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiao",
|
||||
"version": "114.5.0",
|
||||
"version": "114.5.1",
|
||||
"description": "Your personal server companion.",
|
||||
"main": "Xiao.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user