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:
Ashley Graves 2024-10-11 13:51:24 +00:00
commit 10a970ca83

View file

@ -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 =>