Skip to content
New issue

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

Bug: help 指令在遇到 .platform 或其他情况下回复错误 #1384

Open
XxLittleCxX opened this issue Mar 28, 2024 · 0 comments
Open
Labels
bug BUG

Comments

@XxLittleCxX
Copy link
Member

Describe the bug

如题

Steps to reproduce

两个插件如下

export function apply(ctx: Context) {
  // write your plugin here
  ctx.command('dev.bar')
  ctx.command('dev.baz')
}
export function apply(ctx: Context) {
  // write your plugin here
  ctx.platform('another', 'another2').command('dev.potato')
}

加载顺序A(修改插件在koishi.yml 内的顺序):
image
image
工作正常,插件配置页面分别如下:
image
image

此时交换两个插件顺序,不回复了
image
image
image

Expected behavior

正常显示帮助信息

Screenshots

No response

Versions

  • OS:
  • Platform:
  • Node version:
  • Koishi version:

Additional context

No response

@XxLittleCxX XxLittleCxX added the bug BUG label Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug BUG
Projects
None yet
Development

No branches or pull requests

1 participant