Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/events/ready.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,9 @@ export default event(Events.ClientReady, async ({ log }, client) => {
// Send bot status message to bot-dev channel
const botDevChannel = client.channels.resolve(constantsConfig.channels.MOD_LOGS) as TextChannel;
if (botDevChannel) {
if (botDevChannel.guildId !== constantsConfig.guildId) {
Logger.warn(`Bot-dev channel is in unknown guild: ${botDevChannel.guildId}, different from configured guild: ${constantsConfig.guildId}`);
}
const currentDate = new Date();
const formattedDate = moment(currentDate)
.utcOffset(0)
Expand Down
Loading