guh
This commit is contained in:
parent
657566dd6a
commit
de3c094833
1 changed files with 2 additions and 2 deletions
|
@ -18,8 +18,8 @@ for (const site of Object.keys(Booru.sites)) {
|
|||
const defaultBooru = "gelbooru.com";
|
||||
const ratings = [
|
||||
"rating:general",
|
||||
"rating:questionable",
|
||||
"rating:sensitive",
|
||||
"rating:questionable",
|
||||
"rating:explicit",
|
||||
];
|
||||
|
||||
|
@ -36,7 +36,7 @@ const data = new SlashCommandBuilder()
|
|||
builder //
|
||||
.setName("rating")
|
||||
.setRequired(false)
|
||||
.setDescription("Image rating (default: safe)")
|
||||
.setDescription("Image rating (default: general)")
|
||||
.setChoices(ratings.map(r => { var x = r.split(":")[1]; var s = x[0].toUpperCase() + x.slice(1); return { name: s, value: r } }))
|
||||
)
|
||||
.addStringOption(builder =>
|
||||
|
|
Loading…
Reference in a new issue