fix(arabot): change restrict log channel to sus log channel

This commit is contained in:
Anthony Berg 2024-01-04 12:22:13 +00:00
parent e348b09f80
commit 750b10062f

View File

@ -195,9 +195,9 @@ export class WarnCommand extends Command {
| undefined;
if (logChannel === undefined) {
logChannel = (await guild.channels.fetch(
IDs.channels.logs.restricted,
)) as TextChannel | undefined;
logChannel = (await guild.channels.fetch(IDs.channels.logs.sus)) as
| TextChannel
| undefined;
if (logChannel === undefined) {
container.logger.error('Warn Error: Could not fetch log channel');
info.message = `Warned ${user} but could not find the log channel. This has been logged to the database.`;