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: '', usage: '',
description: 'List radio stations.', description: 'List radio stations.',
permission: 'none', permission: 'none',
category: 'info', category: 'radio',
execute(msg, args, client, Discord, command) { execute(msg, args, client, Discord, command) {
let message = {}; let message = {};
if(!client.stations) { if(!client.stations) {

View File

@ -4,7 +4,7 @@ module.exports = {
usage: '', usage: '',
description: 'See the currently playing song position and length.', description: 'See the currently playing song position and length.',
permission: 'none', permission: 'none',
category: 'music', category: 'radio',
async execute(msg, args, client, Discord, command) { async execute(msg, args, client, Discord, command) {
let message = {}; let message = {};
const radio = client.radio.get(msg.guild.id); const radio = client.radio.get(msg.guild.id);

View File

@ -4,7 +4,7 @@ module.exports = {
usage: '<song name>', usage: '<song name>',
description: 'Play some music.', description: 'Play some music.',
permission: 'none', permission: 'none',
category: 'music', category: 'radio',
async execute(msg, args, client, Discord, command) { async execute(msg, args, client, Discord, command) {
let message = {}; let message = {};
let url = args[1] ? args[1].replace(/<(.+)>/g, "$1") : ""; let url = args[1] ? args[1].replace(/<(.+)>/g, "$1") : "";

View File

@ -4,7 +4,7 @@ module.exports = {
alias: 's', alias: 's',
usage: '', usage: '',
permission: 'none', permission: 'none',
category: 'music', category: 'radio',
execute(msg, args, client, Discord, command) { execute(msg, args, client, Discord, command) {
const radio = client.radio.get(msg.guild.id); const radio = client.radio.get(msg.guild.id);
if (client.funcs.check(client, msg, command)) { if (client.funcs.check(client, msg, command)) {

View File

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