aboutsummaryrefslogtreecommitdiff
path: root/src/commands/moderation/warn.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/moderation/warn.ts')
-rw-r--r--src/commands/moderation/warn.ts2
1 files changed, 1 insertions, 1 deletions
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) {