aboutsummaryrefslogtreecommitdiff
path: root/bot/src/events/ClientReady.js
diff options
context:
space:
mode:
authorAndrew Lee <andrew@alee14.me>2025-03-23 01:39:11 -0400
committerAndrew Lee <andrew@alee14.me>2025-03-23 01:39:11 -0400
commitd7c46a9eae28046bb26da182abc298dc18ed5a10 (patch)
treea1f9955a757b150b88ed5398ef851ab2d1d4a46b /bot/src/events/ClientReady.js
parentb60e681998a456adecb93b5fe04b66ad4ac9abb6 (diff)
downloadAleeBot-d7c46a9eae28046bb26da182abc298dc18ed5a10.tar.gz
AleeBot-d7c46a9eae28046bb26da182abc298dc18ed5a10.tar.bz2
AleeBot-d7c46a9eae28046bb26da182abc298dc18ed5a10.zip
Replacing Astro with Next.JS; Prefix warning; Consistent env vars
Diffstat (limited to 'bot/src/events/ClientReady.js')
-rw-r--r--bot/src/events/ClientReady.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/src/events/ClientReady.js b/bot/src/events/ClientReady.js
index c806d6a..6a6b097 100644
--- a/bot/src/events/ClientReady.js
+++ b/bot/src/events/ClientReady.js
@@ -42,9 +42,9 @@ export default {
)
.setColor(abEmbedColour);
- let statusChannel = client.channels.cache.get(process.env.statusChannelID);
+ let statusChannel = client.channels.cache.get(process.env.STATUS_CHANNEL_ID);
if (!statusChannel) return console.error('The status channel does not exist! Skipping.');
- await statusChannel.send({ embeds: [readyEmbed]});
+ await statusChannel.send({ embeds: [readyEmbed] });
}
setInterval(function() {