From d5d5fd6f77f2d778ab099d52f1acaad762712822 Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Fri, 4 Feb 2022 14:08:09 -0500 Subject: explicit member accessibility & jsdocs & typings --- src/commands/config/config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/commands/config') diff --git a/src/commands/config/config.ts b/src/commands/config/config.ts index 580f8d2..2fae2fd 100644 --- a/src/commands/config/config.ts +++ b/src/commands/config/config.ts @@ -9,7 +9,7 @@ import { type GuildSettingType } from '#lib'; import assert from 'assert'; -import { SlashOption, type ArgumentOptions, type Flag } from 'discord-akairo'; +import { type ArgumentGeneratorReturn, type SlashOption } from 'discord-akairo'; import { ActionRow, ApplicationCommandOptionType, @@ -130,7 +130,7 @@ export default class ConfigCommand extends BushCommand { }); } - public override *args(message: BushMessage): Generator { + public override *args(message: BushMessage): ArgumentGeneratorReturn { const optional = message.util.parsed!.alias === 'settings'; const setting: GuildSettings = yield { id: 'setting', -- cgit