mirror of
https://github.com/veganhacktivists/arabot.git
synced 2025-10-19 13:37:40 +02:00
fix(arabot): change restrict log channel to sus log channel
This commit is contained in:
parent
e348b09f80
commit
750b10062f
@ -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.`;
|
||||
|
Loading…
x
Reference in New Issue
Block a user