eximiabots-radiox/src/client/commands/next.js

12 lines
407 B
JavaScript
Raw Normal View History

2021-09-04 23:12:43 +00:00
module.exports = {
name: 'next',
description: 'Next Station',
permission: 'none',
category: 'info',
2021-09-05 00:37:03 +00:00
async execute(interaction, client, command) {
if (client.funcs.check(client, interaction, command)) {
const radio = client.radio.get(interaction.guild.id);
console.log(client.stations.find(station => station.name == radio.station.name));
2021-09-04 23:12:43 +00:00
}
}
}