mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-12-22 21:33:17 +00:00
Changed command category from music to radio
This commit is contained in:
parent
579171a094
commit
ec476523c4
@ -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) {
|
||||
|
@ -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);
|
||||
|
@ -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") : "";
|
||||
|
@ -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)) {
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user