Changed command category from music to radio

This commit is contained in:
Christer Warén 2020-08-22 12:38:20 +03:00
parent 579171a094
commit ec476523c4
5 changed files with 5 additions and 5 deletions

View File

@ -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) {

View File

@ -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);

View File

@ -4,7 +4,7 @@ module.exports = {
usage: '<song name>',
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") : "";

View File

@ -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)) {

View File

@ -4,7 +4,7 @@ module.exports = {
alias: 'none',
usage: '<volume>',
permission: 'MANAGE_MESSAGES',
category: 'music',
category: 'radio',
execute(msg, args, client, Discord, command) {
let message = {};
const radio = client.radio.get(msg.guild.id);