Skip to content

Commit

Permalink
Update settings.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
cobaltt7 authored Oct 28, 2024
1 parent 409cf00 commit 80000ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ defineChatCommand(

async function settingsCommand(
interaction: RepliableInteraction,
options: Partial<{ [key in CamelToKebab<keyof typeof SETTINGS>]?: boolean }>,
options: Record<CamelToKebab<keyof typeof SETTINGS>, boolean | undefined>,
): Promise<void> {
const newOptions = Object.fromEntries(
Object.entries(options).map(([option, value]) => [
Expand Down

0 comments on commit 80000ff

Please sign in to comment.