Browse Source

make it work

tags/Beta0.1
calexil 2 years ago
parent
commit
12f767290f
2 changed files with 7 additions and 1 deletions
  1. 1
    1
      bot.js
  2. 6
    0
      bot.js~

+ 1
- 1
bot.js View File

@@ -13,7 +13,7 @@ client.on('message', message => {

client.on('timer', message => {
if (timeStamp.content === '>0') {
message.reply('--banshee-query now-playing');
message.reply('Calexil is listening to ''banshee --query-title --query-artist --query-album');
}
});


+ 6
- 0
bot.js~ View File

@@ -11,5 +11,11 @@ client.on('message', message => {
}
});

client.on('timer', message => {
if (timeStamp.content === '>0') {
message.reply('--banshee-query now-playing');
}
});

// THIS MUST BE THIS WAY
client.login(process.env.BOT_TOKEN);

Loading…
Cancel
Save