diff options
| author | Andrew Lee <andrew@alee14.me> | 2025-03-07 17:22:21 -0500 |
|---|---|---|
| committer | Andrew Lee <andrew@alee14.me> | 2025-03-07 17:22:21 -0500 |
| commit | c921e5cf8862def58029bd1801074c51113f86ae (patch) | |
| tree | 99c8c513fd56863984ee458e747f69a87ad3c715 /bot/src/events/ClientReady.js | |
| parent | cc06b8ed4e4e0aef02dfd8ab15df22a57a177a0a (diff) | |
| download | AleeBot-c921e5cf8862def58029bd1801074c51113f86ae.tar.gz AleeBot-c921e5cf8862def58029bd1801074c51113f86ae.tar.bz2 AleeBot-c921e5cf8862def58029bd1801074c51113f86ae.zip | |
More settings; Better error message; Database
Diffstat (limited to 'bot/src/events/ClientReady.js')
| -rw-r--r-- | bot/src/events/ClientReady.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bot/src/events/ClientReady.js b/bot/src/events/ClientReady.js index af03e25..ec22ba6 100644 --- a/bot/src/events/ClientReady.js +++ b/bot/src/events/ClientReady.js @@ -28,7 +28,7 @@ export default { console.log(`[i] Bot ID: ${client.user.id}`); console.log(`[i] Running version ${abVersion} | Serving in ${client.guilds.cache.size} guilds`); - botActivity(client); + await botActivity(client); if (readyMsg) { const readyEmbed = new EmbedBuilder() @@ -41,7 +41,6 @@ export default { ) .setColor(abEmbedColour); - let statusChannel = client.channels.cache.get(process.env.statusChannelID); if (!statusChannel) return console.error('The status channel does not exist! Skipping.'); await statusChannel.send({ embeds: [readyEmbed]}); |
