summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlee <alee14498@gmail.com>2018-03-25 20:01:36 -0400
committerAlee <alee14498@gmail.com>2018-03-25 20:01:36 -0400
commitf7c057cac9b9d60aa1ecb021b85845c21faa4baa (patch)
tree58c9c80d59bdf01c26d39d447ec6e0e1bdfe00ea
parent97483e5e5c8c64fb3acf515c9f6eb188153bb633 (diff)
downloadAleeBot-f7c057cac9b9d60aa1ecb021b85845c21faa4baa.tar.gz
AleeBot-f7c057cac9b9d60aa1ecb021b85845c21faa4baa.tar.bz2
AleeBot-f7c057cac9b9d60aa1ecb021b85845c21faa4baa.zip
Changed the presence back
-rw-r--r--bot_discord.js24
1 files changed, 6 insertions, 18 deletions
diff --git a/bot_discord.js b/bot_discord.js
index a08a9ef..1773b31 100644
--- a/bot_discord.js
+++ b/bot_discord.js
@@ -63,24 +63,12 @@ client.on('ready', () => {
console.log('[>] AleeBot is now ready!');
console.log('[i] Running version ' + abVersion + ` and in ${client.guilds.size} guilds`);
- client.setInterval(function() {
- const games = [
- 'AleeBot ' + abVersion + ' | ' + config.prefix + 'help',
- 'Annoying Alee',
- 'Coding stuff',
- 'Drawing shapes',
- 'Fighting AstralMod',
- ];
-
- client.user.setPresence({
- status: 'online',
- afk: false,
- game: {
- type: 0,
- name: games[Math.floor(Math.random() * games.length)],
- },
- });
- }, 200000);
+ client.user.setPresence({
+ game: {
+ name: 'AleeBot ' + abVersion + ' | ' + config.prefix + 'help',
+ type: 0,
+ },
+ });
client.user.setStatus('online');
});