From 35d03eb54fe81c1d5c0359db67455b82f754e3f4 Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Tue, 7 Sep 2021 20:15:45 -0400 Subject: add owner bypasses and prevent blacklisted users from having their dms logged --- src/commands/moderation/warn.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commands/moderation/warn.ts') diff --git a/src/commands/moderation/warn.ts b/src/commands/moderation/warn.ts index 0fa83f3..44f4f5a 100644 --- a/src/commands/moderation/warn.ts +++ b/src/commands/moderation/warn.ts @@ -71,7 +71,7 @@ export default class WarnCommand extends BushCommand { const { result: response, caseNum } = await member.warn({ reason, - moderator: message.author + moderator: message.member }); switch (response) { -- cgit