mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-12-23 01:53: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: '',
|
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) {
|
||||||
|
@ -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);
|
||||||
|
@ -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") : "";
|
||||||
|
@ -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)) {
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user