aboutsummaryrefslogtreecommitdiff
path: root/aleebot.js
diff options
context:
space:
mode:
authorAlee14 <Alee14498@gmail.com>2017-10-03 18:22:20 -0400
committerGitHub <noreply@github.com>2017-10-03 18:22:20 -0400
commita8a8abf2646a50fa0b04edf0ab4a152c0f34c20f (patch)
tree553ded099a12f1a8730f34043d2e476d3ee8ffd3 /aleebot.js
parent544e005e81417f16b08c6e73065c63c8f7365505 (diff)
downloadAleeBot-a8a8abf2646a50fa0b04edf0ab4a152c0f34c20f.tar.gz
AleeBot-a8a8abf2646a50fa0b04edf0ab4a152c0f34c20f.tar.bz2
AleeBot-a8a8abf2646a50fa0b04edf0ab4a152c0f34c20f.zip
Update aleebot.js
Diffstat (limited to 'aleebot.js')
-rw-r--r--aleebot.js21
1 files changed, 4 insertions, 17 deletions
diff --git a/aleebot.js b/aleebot.js
index 964b424..ca66b48 100644
--- a/aleebot.js
+++ b/aleebot.js
@@ -56,26 +56,13 @@ fs.readdir('./commands/', (err, files) => {
client.on('ready', () => {
- log(`[>] AleeBot is now ready! Running version ${abversion} in ${client.guilds.size} guilds!`);
- function setGame() {
- var games = [
- "with version " + abversion,
- "attacking AstralMod",
- "with stuff",
- "with Alee",
- "games"
- ]
-
+ log(`[>] AleeBot is now ready! Running version ${abversion} in ${client.guilds.size} guilds`);
client.user.setPresence({
- status: 'online',
- afk: false,
game: {
- type: 0,
- name: games[Math.floor(Math.random() * games.length)]
+ name: 'with version' +abversion,
+ type: 0
}
- })
-}
-
+ });
client.user.setStatus('online')
});