Skip to content

Commit

Permalink
fix: Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
GeekCornerGH authored Jan 26, 2025
1 parent 6aedbb4 commit c934335
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/editSettings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const comp = async (game: unoGame) => {
...Object.keys(defaultSettings).map(e => {
const key = e as keyof unoSettings;
const value = game.settings[key];
return new StringSelectMenuOptionBuilder().setLabel(t("strings:settings.embed.options." + e as any, { lng })).setValue(e).setDescription(t("strings:settings.currentValue", { lng, value: value === true ? "✅" : value === false ? "❌" : typeof value === "number" ? value : t(`strings:settings.value.${value}`) }));
return new StringSelectMenuOptionBuilder().setLabel(t("strings:settings.options." + e as any, { lng })).setValue(e).setDescription(t("strings:settings.currentValue", { lng, value: value === true ? "✅" : value === false ? "❌" : typeof value === "number" ? value : t(`strings:settings.value.${value}`) }));
})
]).setMaxValues(1).setMinValues(1)
])];
Expand Down

0 comments on commit c934335

Please sign in to comment.