summaryrefslogtreecommitdiff
path: root/bot_discord.js
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2020-07-23 12:45:43 -0400
committerAndrew Lee <alee14498@protonmail.com>2020-07-23 12:45:43 -0400
commit0b5836fac77a419fd707923b912c2415d78f88ec (patch)
tree8fd318aa810b309ef8f92c7ffa35e643589d1833 /bot_discord.js
parent1e1f1d15c116001d892a06267b3688a88f8b1d99 (diff)
downloadAleeBot-0b5836fac77a419fd707923b912c2415d78f88ec.tar.gz
AleeBot-0b5836fac77a419fd707923b912c2415d78f88ec.tar.bz2
AleeBot-0b5836fac77a419fd707923b912c2415d78f88ec.zip
Changed game to acitivity
Diffstat (limited to 'bot_discord.js')
-rw-r--r--bot_discord.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/bot_discord.js b/bot_discord.js
index dfaf6fc..bfc0641 100644
--- a/bot_discord.js
+++ b/bot_discord.js
@@ -209,7 +209,7 @@ client.on('ready', () => {
log(`[i] Running version ${settings.abVersion} and in ${client.guilds.cache.size} guilds`.green);
client.setInterval(function() {
- const games = [
+ const activities = [
'AleeBot ' + settings.abVersion + ' | ' + settings.prefix + 'help',
'Coding stuff',
'Drawing shapes',
@@ -222,9 +222,9 @@ client.on('ready', () => {
client.user.setPresence({
status: 'online',
afk: false,
- game: {
+ activity: {
type: 0,
- name: games[Math.floor(Math.random() * games.length)],
+ name: activities[Math.floor(Math.random() * activities.length)],
},
});
}, 200000);