aboutsummaryrefslogtreecommitdiff
path: root/bot.js
diff options
context:
space:
mode:
Diffstat (limited to 'bot.js')
-rw-r--r--bot.js9
1 files changed, 6 insertions, 3 deletions
diff --git a/bot.js b/bot.js
index a61ea5f..b4b0d30 100644
--- a/bot.js
+++ b/bot.js
@@ -46,9 +46,12 @@ function playAudio() {
dispatcher.on('start', () => {
console.log('Now playing ' + audio);
+ const statusEmbed = new Discord.MessageEmbed()
+ .addField('Now Playing', `${audio}`)
+ .setColor('#0066ff')
let statusChannel = client.channels.cache.get(config.statusChannel);
if (!statusChannel) return console.error('The channel does not exist!');
- statusChannel.send('**Music Bot Status:**\nNow playing ' + audio);
+ statusChannel.send(statusEmbed);
});
dispatcher.on('error', console.error);
@@ -86,8 +89,8 @@ client.on('message', async msg => {
if (command == 'help') {
const helpEmbed = new Discord.MessageEmbed()
- .addField('Bot Help', `${config.prefix}help\n${config.prefix}ping\n${config.prefix}git\n${config.prefix}about`)
- .setFooter('© Copyright 2020, Andrew Lee. Licensed with GPL-3.0.')
+ .addField('Bot Help', `${config.prefix}help\n${config.prefix}ping\n${config.prefix}git\n${config.prefix}about\n`)
+ .setFooter('© Copyright 2020 Andrew Lee. Licensed with GPL-3.0.')
.setColor('#0066ff')
msg.channel.send(helpEmbed);