aboutsummaryrefslogtreecommitdiff
path: root/bot/src/events/ClientReady.js
diff options
context:
space:
mode:
Diffstat (limited to 'bot/src/events/ClientReady.js')
-rw-r--r--bot/src/events/ClientReady.js3
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]});