aaaaaaaa
This commit is contained in:
parent
2e2f9c9bcd
commit
a9cf2be98b
1 changed files with 0 additions and 13 deletions
|
@ -16,12 +16,6 @@ for (const site of Object.keys(Booru.sites)) {
|
|||
}
|
||||
|
||||
const defaultBooru = "gelbooru.com";
|
||||
const ratings = [
|
||||
"rating:general",
|
||||
"rating:sensitive",
|
||||
"rating:questionable",
|
||||
"rating:explicit",
|
||||
];
|
||||
|
||||
const data = new SlashCommandBuilder()
|
||||
.setName("booru")
|
||||
|
@ -32,13 +26,6 @@ const data = new SlashCommandBuilder()
|
|||
.setRequired(true)
|
||||
.setDescription("Tags to search for")
|
||||
)
|
||||
.addStringOption(builder =>
|
||||
builder //
|
||||
.setName("rating")
|
||||
.setRequired(false)
|
||||
.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 =>
|
||||
builder //
|
||||
.setName("booru")
|
||||
|
|
Loading…
Reference in a new issue