diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-02-04 14:08:09 -0500 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-02-04 14:08:09 -0500 |
commit | d5d5fd6f77f2d778ab099d52f1acaad762712822 (patch) | |
tree | ababfba81c28c102b932e2713c1614260a424285 /src/commands/config | |
parent | e5bc336f9586b1f5515be3f1d239d2194489e9c5 (diff) | |
download | tanzanite-d5d5fd6f77f2d778ab099d52f1acaad762712822.tar.gz tanzanite-d5d5fd6f77f2d778ab099d52f1acaad762712822.tar.bz2 tanzanite-d5d5fd6f77f2d778ab099d52f1acaad762712822.zip |
explicit member accessibility & jsdocs & typings
Diffstat (limited to 'src/commands/config')
-rw-r--r-- | src/commands/config/config.ts | 4 |
1 files changed, 2 insertions, 2 deletions
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<ArgumentOptions | Flag, any, any> { + public override *args(message: BushMessage): ArgumentGeneratorReturn { const optional = message.util.parsed!.alias === 'settings'; const setting: GuildSettings = yield { id: 'setting', |