From d7c46a9eae28046bb26da182abc298dc18ed5a10 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Sun, 23 Mar 2025 01:39:11 -0400 Subject: Replacing Astro with Next.JS; Prefix warning; Consistent env vars --- bot/src/events/GuildCreate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bot/src/events/GuildCreate.js') diff --git a/bot/src/events/GuildCreate.js b/bot/src/events/GuildCreate.js index 0c59bb1..c3cf034 100644 --- a/bot/src/events/GuildCreate.js +++ b/bot/src/events/GuildCreate.js @@ -19,7 +19,7 @@ export default { await guildSettings.create({ guildID: guild.id }); - let statusChannel = guild.client.channels.cache.get(process.env.statusChannelID); + let statusChannel = guild.client.channels.cache.get(process.env.STATUS_CHANNEL_ID); if (!statusChannel) return; await statusChannel.send({ embeds: [logEmbed] }); } -- cgit v1.2.3