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
4.17.11 版本中,使用 session.execute() 调用指令会导致当前 session 的引用消息内容被添加到内部调用的指令参数中。
session.execute()
ctx.command("foo [arg]").action(({ session }, arg) => { session.execute("bar") return <>foo 参数:{arg}</> }) ctx.command("bar [arg]").action((_, arg) => { return <>bar 参数:{arg}</> })
foo 指令接收到引用参数 "hello",bar 指令不应接受到该内容作为参数。
foo
"hello"
bar
No response
4dd30f2#diff-d5cf16593756abe4ee64caf2b2ea6fefbb1e322a3349a5beb46079139d1f2812
The text was updated successfully, but these errors were encountered:
1f41c20
No branches or pull requests
Describe the bug
4.17.11 版本中,使用
session.execute()
调用指令会导致当前 session 的引用消息内容被添加到内部调用的指令参数中。Steps to reproduce
Expected behavior
foo
指令接收到引用参数"hello"
,bar
指令不应接受到该内容作为参数。Screenshots
No response
Versions
Additional context
4dd30f2#diff-d5cf16593756abe4ee64caf2b2ea6fefbb1e322a3349a5beb46079139d1f2812
The text was updated successfully, but these errors were encountered: