aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlee14 <Alee14498@gmail.com>2017-07-27 15:21:37 -0400
committerAlee14 <Alee14498@gmail.com>2017-07-27 15:21:37 -0400
commit304851155e70d28b58f228c8e372c7014261fd1b (patch)
tree947b79d0c053298baaba793a7c9d07f56926a502
parent0f553636c63ae5a9be7a088038d3100140dc0a7f (diff)
downloadAleeBot-304851155e70d28b58f228c8e372c7014261fd1b.tar.gz
AleeBot-304851155e70d28b58f228c8e372c7014261fd1b.tar.bz2
AleeBot-304851155e70d28b58f228c8e372c7014261fd1b.zip
Console detects what version is AleeBot running!
-rw-r--r--aleebot.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/aleebot.js b/aleebot.js
index 16ee5a1..1384288 100644
--- a/aleebot.js
+++ b/aleebot.js
@@ -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 = {};