aboutsummaryrefslogtreecommitdiff
path: root/src/commands/config/config.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/config/config.ts')
-rw-r--r--src/commands/config/config.ts4
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',