Merge pull request 'guh' (#6) from dev into mistress
Reviewed-on: https://git.incest.world/sisterkissers/discord-bot/pulls/6
This commit is contained in:
commit
10a970ca83
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