mirror of
https://github.com/nx-bat/discordbot-ng.git
synced 2026-11-11 07:13:37 -05:00
Compare commits
5
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dd8aec7f07 | ||
|
|
11c977591c | ||
|
|
200681e94b | ||
|
|
d5c7e9c207 | ||
|
|
c23e029856 |
+8
-4
@@ -1,5 +1,9 @@
|
||||
node_modules
|
||||
dist
|
||||
data/*
|
||||
# Directories
|
||||
certs/
|
||||
data/
|
||||
dist/
|
||||
node_modules/
|
||||
|
||||
# Files
|
||||
.DS_Store
|
||||
.env
|
||||
certs/*
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user