diff --git a/src/utils/modal-utils.ts b/src/utils/modal-utils.ts index 0fb7356..23bc355 100644 --- a/src/utils/modal-utils.ts +++ b/src/utils/modal-utils.ts @@ -21,7 +21,8 @@ export function createTextInput(customId: string, labelTitle: string, descriptio export function createCheckbox(customId: string, labelTitle: string, description: string | null, defaultYes: boolean): LabelBuilder { const component = new CheckboxBuilder() - .setCustomId(customId); + .setCustomId(customId) + .setDefault(defaultYes); const yesNoLabel = new LabelBuilder() .setLabel(labelTitle)