diff options
| author | Andrew Lee <andrew@alee14.me> | 2025-03-26 16:02:25 -0400 |
|---|---|---|
| committer | Andrew Lee <andrew@alee14.me> | 2025-03-26 16:04:06 -0400 |
| commit | bc64422fdf34e512509cfc931569715828047c24 (patch) | |
| tree | 11cc24121519b5d2fd4c65907e1979d6f426981b /bot/src/events | |
| parent | f374c5bda7a9453266e46e77da3631d655998c68 (diff) | |
| download | AleeBot-bc64422fdf34e512509cfc931569715828047c24.tar.gz AleeBot-bc64422fdf34e512509cfc931569715828047c24.tar.bz2 AleeBot-bc64422fdf34e512509cfc931569715828047c24.zip | |
QOTD implemented; Removed readyMsg (replaced with NODE_ENV); More activities
Diffstat (limited to 'bot/src/events')
| -rw-r--r-- | bot/src/events/ClientReady.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bot/src/events/ClientReady.js b/bot/src/events/ClientReady.js index 6a6b097..7f998ad 100644 --- a/bot/src/events/ClientReady.js +++ b/bot/src/events/ClientReady.js @@ -2,8 +2,8 @@ import { EmbedBuilder, Events, version } from 'discord.js'; import { readFileSync } from 'node:fs'; import { activities } from '../storage/activities.js'; -import { readyMsg, abEmbedColour } from '../storage/consts.js'; -// import { QuoteOfTheDay } from '../plugins/qotd.js'; +import { abEmbedColour } from '../storage/consts.js'; +import { QuoteOfTheDay } from '../plugins/qotd.js'; const { version: abVersion } = JSON.parse(readFileSync('./package.json', 'utf-8')); function botActivity(client) { @@ -29,9 +29,9 @@ export default { console.log(`[i] Running version ${abVersion} | Serving in ${client.guilds.cache.size} guilds`); await botActivity(client); - //await QuoteOfTheDay(client); + await QuoteOfTheDay(client); - if (readyMsg) { + if (process.env.NODE_ENV !== 'development') { const readyEmbed = new EmbedBuilder() .setAuthor({ name: 'AleeBot Status', iconURL: client.user.avatarURL() }) .setDescription('AleeBot has started') |
