This commit is contained in:
Christer Warén
2020-03-09 02:00:02 +02:00
parent 148ce79316
commit 1deaba2376
3 changed files with 11 additions and 7 deletions

View File

@ -12,12 +12,10 @@ module.exports = {
radio.time = radio.connection.dispatcher.streamTime;
const completed = (radio.time.toFixed(0));
const stations = await client.funcs.radiostations();
const embed = new Discord.MessageEmbed()
.setTitle("<a:aNotes:674602408105476106> Now Playing")
.setColor(client.config.embedColor)
.setDescription(`**${stations[radio.station].name}** \n Owner: ${stations[radio.station].owner} \n\`${client.funcs.msToTime(completed, "hh:mm:ss")}\``)
.setDescription(`**${client.stations[radio.station].name}** \n Owner: ${client.stations[radio.station].owner} \n\`${client.funcs.msToTime(completed, "hh:mm:ss")}\``)
.setFooter('EximiaBots by Warén Media');
return msg.channel.send(embed);
}