mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Add util-voice group
This commit is contained in:
@@ -18,6 +18,7 @@ client.registry
|
||||
.registerTypesIn(path.join(__dirname, 'types'))
|
||||
.registerGroups([
|
||||
['util-public', 'Utility'],
|
||||
['util-voice', 'Utility (Voice)'],
|
||||
['util', 'Utility (Owner)'],
|
||||
['info', 'Discord Information'],
|
||||
['random-res', 'Random Response'],
|
||||
|
||||
@@ -5,7 +5,7 @@ module.exports = class JoinCommand extends Command {
|
||||
super(client, {
|
||||
name: 'join',
|
||||
aliases: ['join-voice-channel', 'join-vc', 'join-voice', 'join-channel'],
|
||||
group: 'util-public',
|
||||
group: 'util-voice',
|
||||
memberName: 'join',
|
||||
description: 'Joins your voice channel.',
|
||||
guildOnly: true,
|
||||
@@ -5,7 +5,7 @@ module.exports = class LeaveCommand extends Command {
|
||||
super(client, {
|
||||
name: 'leave',
|
||||
aliases: ['leave-voice-channel', 'leave-vc', 'leave-voice', 'leave-channel'],
|
||||
group: 'util-public',
|
||||
group: 'util-voice',
|
||||
memberName: 'leave',
|
||||
description: 'Leaves the current voice channel.',
|
||||
guildOnly: true,
|
||||
@@ -5,7 +5,7 @@ module.exports = class StopCommand extends Command {
|
||||
super(client, {
|
||||
name: 'stop',
|
||||
aliases: ['stop-voice-channel', 'stop-vc', 'stop-voice', 'stop-play', 'stop-playing'],
|
||||
group: 'util-public',
|
||||
group: 'util-voice',
|
||||
memberName: 'stop',
|
||||
description: 'Stops the current audio playing.',
|
||||
guildOnly: true,
|
||||
Reference in New Issue
Block a user