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')) .registerTypesIn(path.join(__dirname, 'types'))
.registerGroups([ .registerGroups([
['util-public', 'Utility'], ['util-public', 'Utility'],
['util-voice', 'Utility (Voice)'],
['util', 'Utility (Owner)'], ['util', 'Utility (Owner)'],
['info', 'Discord Information'], ['info', 'Discord Information'],
['random-res', 'Random Response'], ['random-res', 'Random Response'],
@@ -5,7 +5,7 @@ module.exports = class JoinCommand extends Command {
super(client, { super(client, {
name: 'join', name: 'join',
aliases: ['join-voice-channel', 'join-vc', 'join-voice', 'join-channel'], aliases: ['join-voice-channel', 'join-vc', 'join-voice', 'join-channel'],
group: 'util-public', group: 'util-voice',
memberName: 'join', memberName: 'join',
description: 'Joins your voice channel.', description: 'Joins your voice channel.',
guildOnly: true, guildOnly: true,
@@ -5,7 +5,7 @@ module.exports = class LeaveCommand extends Command {
super(client, { super(client, {
name: 'leave', name: 'leave',
aliases: ['leave-voice-channel', 'leave-vc', 'leave-voice', 'leave-channel'], aliases: ['leave-voice-channel', 'leave-vc', 'leave-voice', 'leave-channel'],
group: 'util-public', group: 'util-voice',
memberName: 'leave', memberName: 'leave',
description: 'Leaves the current voice channel.', description: 'Leaves the current voice channel.',
guildOnly: true, guildOnly: true,
@@ -5,7 +5,7 @@ module.exports = class StopCommand extends Command {
super(client, { super(client, {
name: 'stop', name: 'stop',
aliases: ['stop-voice-channel', 'stop-vc', 'stop-voice', 'stop-play', 'stop-playing'], aliases: ['stop-voice-channel', 'stop-vc', 'stop-voice', 'stop-play', 'stop-playing'],
group: 'util-public', group: 'util-voice',
memberName: 'stop', memberName: 'stop',
description: 'Stops the current audio playing.', description: 'Stops the current audio playing.',
guildOnly: true, guildOnly: true,