aboutsummaryrefslogtreecommitdiff
path: root/aleebot.js
diff options
context:
space:
mode:
authorAlee14 <Alee14498@gmail.com>2017-10-03 18:24:46 -0400
committerGitHub <noreply@github.com>2017-10-03 18:24:46 -0400
commite5e512358eaa07379d1d19c38b3a1726272328da (patch)
tree553ded099a12f1a8730f34043d2e476d3ee8ffd3 /aleebot.js
parent56a9398a130a1e66a1cb575a9e3687fe620e1df3 (diff)
downloadAleeBot-e5e512358eaa07379d1d19c38b3a1726272328da.tar.gz
AleeBot-e5e512358eaa07379d1d19c38b3a1726272328da.tar.bz2
AleeBot-e5e512358eaa07379d1d19c38b3a1726272328da.zip
Reverting stuff (#10)
* Minor updates on ab:say * Updating the beta branch (#8) * Updates on what AleeBot's playing * Minor updates on ab:say (#7) * Fixes * 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')
});