Add util-voice group

This commit is contained in:
Dragon Fire
2021-02-12 18:16:31 -05:00
parent 7b389ce679
commit f8b178bd9d
4 changed files with 4 additions and 3 deletions
+1
View File
@@ -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,