diff --git a/modules/settings.ts b/modules/settings.ts index 82b4b7ed6..95b2d5f72 100644 --- a/modules/settings.ts +++ b/modules/settings.ts @@ -137,7 +137,7 @@ defineChatCommand( async function settingsCommand( interaction: RepliableInteraction, - options: Partial<{ [key in CamelToKebab]?: boolean }>, + options: Record, boolean | undefined>, ): Promise { const newOptions = Object.fromEntries( Object.entries(options).map(([option, value]) => [