diff options
| author | Alee14 <Alee14498@gmail.com> | 2017-07-27 15:21:37 -0400 |
|---|---|---|
| committer | Alee14 <Alee14498@gmail.com> | 2017-07-27 15:21:37 -0400 |
| commit | 304851155e70d28b58f228c8e372c7014261fd1b (patch) | |
| tree | 947b79d0c053298baaba793a7c9d07f56926a502 | |
| parent | 0f553636c63ae5a9be7a088038d3100140dc0a7f (diff) | |
| download | AleeBot-304851155e70d28b58f228c8e372c7014261fd1b.tar.gz AleeBot-304851155e70d28b58f228c8e372c7014261fd1b.tar.bz2 AleeBot-304851155e70d28b58f228c8e372c7014261fd1b.zip | |
Console detects what version is AleeBot running!
| -rw-r--r-- | aleebot.js | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -12,17 +12,17 @@ const Discord = require('discord.js'); const client = new Discord.Client(); const config = require('./abtoken.json'); - - client.on('ready', () => { - console.log("[SUCCESS] AleeBot is now ready!"); - client.setInterval(setGame, 300000); - setGame(); - }); var prefix = "ab:"; var ver = "1.0.4"; var logsChannel = "318874545593384970"; +client.on('ready', () => { + console.log("[SUCCESS] AleeBot is now ready! Running version "+ ver +"!"); + client.setInterval(setGame, 300000); + setGame(); + }); + function setGame() { var presence = {}; presence.game = {}; |
