From ec476523c4d9f24133281ceeef5de7be2018b621 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Sat, 22 Aug 2020 12:38:20 +0300 Subject: [PATCH] Changed command category from music to radio --- client/commands/list.js | 2 +- client/commands/nowplaying.js | 2 +- client/commands/play.js | 2 +- client/commands/stop.js | 2 +- client/commands/volume.js | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/client/commands/list.js b/client/commands/list.js index f1aa7e7..8270af4 100644 --- a/client/commands/list.js +++ b/client/commands/list.js @@ -4,7 +4,7 @@ module.exports = { usage: '', description: 'List radio stations.', permission: 'none', - category: 'info', + category: 'radio', execute(msg, args, client, Discord, command) { let message = {}; if(!client.stations) { diff --git a/client/commands/nowplaying.js b/client/commands/nowplaying.js index bc29c45..0aae082 100644 --- a/client/commands/nowplaying.js +++ b/client/commands/nowplaying.js @@ -4,7 +4,7 @@ module.exports = { usage: '', description: 'See the currently playing song position and length.', permission: 'none', - category: 'music', + category: 'radio', async execute(msg, args, client, Discord, command) { let message = {}; const radio = client.radio.get(msg.guild.id); diff --git a/client/commands/play.js b/client/commands/play.js index fe3549d..cfa708d 100644 --- a/client/commands/play.js +++ b/client/commands/play.js @@ -4,7 +4,7 @@ module.exports = { usage: '', description: 'Play some music.', permission: 'none', - category: 'music', + category: 'radio', async execute(msg, args, client, Discord, command) { let message = {}; let url = args[1] ? args[1].replace(/<(.+)>/g, "$1") : ""; diff --git a/client/commands/stop.js b/client/commands/stop.js index f3e4d49..1697f29 100644 --- a/client/commands/stop.js +++ b/client/commands/stop.js @@ -4,7 +4,7 @@ module.exports = { alias: 's', usage: '', permission: 'none', - category: 'music', + category: 'radio', execute(msg, args, client, Discord, command) { const radio = client.radio.get(msg.guild.id); if (client.funcs.check(client, msg, command)) { diff --git a/client/commands/volume.js b/client/commands/volume.js index 3ae2962..94d80c4 100644 --- a/client/commands/volume.js +++ b/client/commands/volume.js @@ -4,7 +4,7 @@ module.exports = { alias: 'none', usage: '', permission: 'MANAGE_MESSAGES', - category: 'music', + category: 'radio', execute(msg, args, client, Discord, command) { let message = {}; const radio = client.radio.get(msg.guild.id);