diff options
Diffstat (limited to 'src/commands/moderation/warn.ts')
-rw-r--r-- | src/commands/moderation/warn.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/commands/moderation/warn.ts b/src/commands/moderation/warn.ts index c146db0..d70c9f0 100644 --- a/src/commands/moderation/warn.ts +++ b/src/commands/moderation/warn.ts @@ -15,6 +15,7 @@ export default class WarnCommand extends BushCommand { }, { id: 'reason', + type: 'contentWithDuration', match: 'rest' } ], @@ -25,7 +26,9 @@ export default class WarnCommand extends BushCommand { } }); } - public async exec(message: Message, { member, reason }: { member: GuildMember; reason: string }): Promise<void> { + public async exec(message: Message, { member, reason }: { member: GuildMember; reason: string }): Promise<unknown> { + return message.util.reply(`${this.client.util.emojis.error} This command is not finished.`); + // Create guild entry so postgres doesn't get mad when I try and add a modlog entry await Guild.findOrCreate({ where: { |