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/unmute.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commands/moderation/unmute.ts') diff --git a/src/commands/moderation/unmute.ts b/src/commands/moderation/unmute.ts index 3383583..ee4bebe 100644 --- a/src/commands/moderation/unmute.ts +++ b/src/commands/moderation/unmute.ts @@ -77,7 +77,7 @@ export default class UnmuteCommand extends BushCommand { const responseCode = await member.unmute({ reason, - moderator: message.author + moderator: message.member }); const responseMessage = async () => { -- cgit