This commit is contained in:
Ashley Graves 2024-10-11 14:33:01 +02:00
parent 4a609a8608
commit 9851e43841
2 changed files with 1 additions and 2 deletions

View file

@ -1,4 +1,5 @@
{
"warning": "<:warning:1293874152150667315>",
"booru": {
"rating": {
"safe": "<:rating_safe:1293819920978804829>",

View file

@ -147,8 +147,6 @@ module.exports = {
const searchTags = [rating, ...tags, ...[...blacklist, ...userBlacklist].map(i => "-" + i)];
const startTime = process.hrtime.bigint();
console.log(searchTags);
var post = (await Booru.search(booru, searchTags, { limit: 1, random: true, credentials: credentials[booru] ?? null }))[0];
if (post == null) {
await interaction.followUp(emojis.warning + " Could not find any post matching tags.");