aboutsummaryrefslogtreecommitdiff
path: root/bot_discord.js
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2020-12-23 15:40:01 -0500
committerAndrew Lee <alee14498@protonmail.com>2020-12-23 15:40:01 -0500
commite4cde02e1e1b637858fd446fba4883ff1bad498d (patch)
tree43e359479a5c6b4a9d6bbe442f51dc095969eb2b /bot_discord.js
parente7456412018ac4eaebe77c3947aba7976df42453 (diff)
downloadAleeBot-e4cde02e1e1b637858fd446fba4883ff1bad498d.tar.gz
AleeBot-e4cde02e1e1b637858fd446fba4883ff1bad498d.tar.bz2
AleeBot-e4cde02e1e1b637858fd446fba4883ff1bad498d.zip
Moved activites
Diffstat (limited to 'bot_discord.js')
-rw-r--r--bot_discord.js28
1 files changed, 14 insertions, 14 deletions
diff --git a/bot_discord.js b/bot_discord.js
index 51bf373..5d33959 100644
--- a/bot_discord.js
+++ b/bot_discord.js
@@ -37,6 +37,13 @@ let autoRole = true;
let logChannel = '318874545593384970';
let statusChannelID = '606602551634296968';
let readyEmbedMessage = true;
+const activities = [
+ 'AleeBot ' + settings.abVersion + ' | ' + settings.prefix + 'help',
+ 'Coding bytes',
+ 'Drawing shapes',
+ 'Fighting Quad',
+ 'Ultra Jump Mania!'
+];
const log = (message) => {
console.log(`[${moment().format('YYYY-MM-DD HH:mm:ss')}] ${message}`.white);
@@ -244,24 +251,17 @@ client.on('ready', () => {
log(`[i] Running version ${settings.abVersion} and in ${client.guilds.cache.size} guilds`.green);
client.setInterval(function() {
- const activities = [
- 'AleeBot ' + settings.abVersion + ' | ' + settings.prefix + 'help',
- 'Coding bytes',
- 'Drawing shapes',
- 'Fighting Quad',
- 'Ultra Jump Mania!'
- ];
/*
setInterval(() => {
dbl.postStats(client.guilds.size, client.shards.Id, client.shards.total);
}, 1800000);*/
- client.user.setPresence({
- activity: {
- name: activities[Math.floor(Math.random() * activities.length)]
- },
- status: 'online',
- afk: false,
- });
+ client.user.setPresence({
+ activity: {
+ name: activities[Math.floor(Math.random() * activities.length)]
+ },
+ status: 'online',
+ afk: false,
+ });
}, 200000);
client.user.setStatus('online');
if (readyEmbedMessage === true) {