We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
解析 [ ] ` - 这四个字符有误
[
]
`
-
其中 - 只有在连续的时候才会解析错误,例如 test -adb text 这条指令正常解析,但是 test --gamma=1 这条指令解析就有问题
test -adb text
test --gamma=1
在 KOOK 输入指令
echo 1:[ 2:] 3:` 4:--
从 bot 得到响应是:
1:\[ 2:\] 3:\` 4:\-\-
从 bot 得到的响应应该为:
1:[ 2:] 3:` 4:--
No response
The text was updated successfully, but these errors were encountered:
相关issue:#1050
Sorry, something went wrong.
https://github.com/satorijs/satori/blob/4cab923c895f28cf8fcfa421393ac9497d9f913d/adapters/kook/src/utils.ts#L86-L90 参考这里,再添加几行,替换掉以上四个字符应该就能解决解析不正常的问题
satorijs/satori@e249d20
已修复。
No branches or pull requests
Describe the bug
解析
[
]
`
-
这四个字符有误其中
-
只有在连续的时候才会解析错误,例如test -adb text
这条指令正常解析,但是test --gamma=1
这条指令解析就有问题Steps to reproduce
在 KOOK 输入指令
从 bot 得到响应是:
Expected behavior
从 bot 得到的响应应该为:
Screenshots
No response
Versions
Additional context
No response
The text was updated successfully, but these errors were encountered: