diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2020-07-23 12:50:05 -0400 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2020-07-23 12:50:05 -0400 |
| commit | 61e87af03cc4b93454c136804cbc6e534c934c3f (patch) | |
| tree | b987d713f1d4f0f486bf29d320915f2df45e84c7 /bot_discord.js | |
| parent | 0b5836fac77a419fd707923b912c2415d78f88ec (diff) | |
| download | AleeBot-61e87af03cc4b93454c136804cbc6e534c934c3f.tar.gz AleeBot-61e87af03cc4b93454c136804cbc6e534c934c3f.tar.bz2 AleeBot-61e87af03cc4b93454c136804cbc6e534c934c3f.zip | |
Adjust some stuff
Diffstat (limited to 'bot_discord.js')
| -rw-r--r-- | bot_discord.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/bot_discord.js b/bot_discord.js index bfc0641..234a9c7 100644 --- a/bot_discord.js +++ b/bot_discord.js @@ -220,12 +220,11 @@ client.on('ready', () => { dbl.postStats(client.guilds.size, client.shards.Id, client.shards.total); }, 1800000);*/ client.user.setPresence({ - status: 'online', - afk: false, activity: { - type: 0, - name: activities[Math.floor(Math.random() * activities.length)], + name: activities[Math.floor(Math.random() * activities.length)] }, + status: 'online', + afk: false, }); }, 200000); client.user.setStatus('online'); |
