Atora

Results 12 comments of Atora

Yeah, there's no current way to retrieve any list of tags, only a way to search posts. I don't know if all boorus have a way to search tag lists...

Using `random: true` will make booru add `order:random` to the tags before searching, so you'd have to disable random (`random: false`) and select a random result yourself https://github.com/AtoraSuunva/booru/blob/master/src/boorus/Booru.ts#L166= I could...

@Hatsune-Mikun danbooru does support `order:random`, but it seems to make the database time out often for some reason Danbooru also does not let you search using more than 2 tags...

Those are returned as part of the `tags` on a post. I've thought of having them separate, but most boorus don't categorize the tags at all. [hypnohub](https://hypnohub.net/index.php?page=dapi&s=post&q=index&json=1&limit=1), [rule34.xxx](https://api.rule34.xxx/index.php?page=dapi&s=post&q=index&json=1&tags=&limit=1&pid=1), [gelbooru](https://gelbooru.com/index.php?page=dapi&s=post&q=index&json=1&tags=&limit=1&pid=1), [paheal](https://rule34.paheal.net/api/danbooru/find_posts/index.xml?limit=1),...

I'm planning to eventually rewriting booru and having some way to do specific "only some boorus support this" things, so it's definitely possible in the future

Whoops I missed this issue What command(s) are you running that give you this?

@Skitteyy You're probably searching tags that have less than 100 results, which then makes `random` go out of bounds and you get `undefined` You'll need to generate a random number...

Oh whoops forgot to respond to this BooruBot uses the [booru npm package](https://github.com/AtoraSuunva/booru), so all site support is implemented there I also maintain `booru`, so it's possible for me to...

You can already blacklist those tags yourself (via `b!blacklist tag shota`) so they don't turn up as search results in the bot I'll look into potentially adding loli/shota into the...

These are both things I want to add, but I need to finish up some other projects first because I want to rewrite booru to just be a lot easier...