summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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');
});