koishijs / koishi-plugin-booru

Image service for Koishi | 最好的涩图插件!
https://booru.koishi.chat
MIT License
12 stars 8 forks source link

Bug: tokenize bug #39

Closed Kabuda-czh closed 7 months ago

Kabuda-czh commented 1 year ago

Describe the bug

When tokenize is used, command options are invalid and are recognized as tags

Steps to reproduce

use booru blue archive, black dress -l gelbooru or booru blue archive, black dress, -l gelbooru

The tag 👇

['blue_archive', 'black_dress', '-l_gelbooru']

Expected behavior

Option and multitag can be used correctly

Screenshots

No response

Relevant log output

No response

Launcher

Koishi Desktop

Sources

Danbooru, Gelbooru, Konachan.com (NSFW), Konachan.net (SFW), Lolibooru, Lolicon, Pixiv, Safebooru, Yande.re

Versions

Additional context

No response

MaikoTan commented 1 year ago

Well, just like novelai plugin, you should always append options BEFORE the query.

Kabuda-czh commented 1 year ago

Well, just like novelai plugin, you should always append options BEFORE the query.

It's worked, maybe we should add hints or descriptions or examples to prompt user?