diff options
Diffstat (limited to 'src/commands/moderation/warn.ts')
-rw-r--r-- | src/commands/moderation/warn.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/moderation/warn.ts b/src/commands/moderation/warn.ts index 5093c9b..05b1e36 100644 --- a/src/commands/moderation/warn.ts +++ b/src/commands/moderation/warn.ts @@ -67,12 +67,12 @@ export default class WarnCommand extends BushCommand { return message.util.reply(canModerateResponse); } - const { result: response, caseNum } = await member.warn({ + const { result: response, caseNum } = await member.bushWarn({ reason, moderator: message.member }); - const responseMessage = () => { + const responseMessage = (): string => { const victim = util.format.input(member.user.tag); switch (response) { case 'error creating modlog entry': |