From d40527d0a2d9f209905750258f71bedff1cdf089 Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Tue, 17 Aug 2021 12:31:09 -0400 Subject: turned on ts strict option --- src/commands/moulberry-bush/level.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/commands/moulberry-bush/level.ts') diff --git a/src/commands/moulberry-bush/level.ts b/src/commands/moulberry-bush/level.ts index c202863..02d66be 100644 --- a/src/commands/moulberry-bush/level.ts +++ b/src/commands/moulberry-bush/level.ts @@ -36,7 +36,8 @@ export default class LevelCommand extends BushCommand { required: false } ], - slash: true + slash: true, + channel: 'guild' }); } @@ -143,6 +144,7 @@ export default class LevelCommand extends BushCommand { // 'lel.png' // ) // ); - await message.reply(await this.getResponse(user || message.author, message.guild)); + // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing + await message.reply(await this.getResponse(user || message.author, message.guild!)); } } -- cgit