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
Discord的斜杠指令同步似乎出現問題,比如指令不會即使被新增,刪除或修改。
斜杠指令應該與koishi及時同步
No response
The text was updated successfully, but these errors were encountered:
似乎是预期的,关闭斜杠指令将不会进行同步 https://github.com/satorijs/satori/blob/master/adapters/discord/src/bot.ts#L194
Sorry, something went wrong.
我也出现同样的问题,也打开了斜杠指令
当存在无效的指令定义时,更新 Discord 斜杠指令的请求会返回一个报错。报错会显示请求体中有问题的指令的位置(json 路径),但不会显示有误的指令定义具体内容。
如果能找到上述报错,请确保指令与选项名不包含汉字或特殊字符,选项与参数无重名,并将 discord 日志等级设为 3 来显示请求体,以便解决问题。
相关:#1433
No branches or pull requests
Describe the bug
Discord的斜杠指令同步似乎出現問題,比如指令不會即使被新增,刪除或修改。
Steps to reproduce
Expected behavior
斜杠指令應該與koishi及時同步
Screenshots
Versions
Additional context
No response
The text was updated successfully, but these errors were encountered: