mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-24 22:34:46 +02:00
Add util-voice group
This commit is contained in:
@@ -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,
|
||||||
Reference in New Issue
Block a user