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

fix: conflict with chat-command #22

Closed
LTHPKBTE opened this issue Jan 25, 2021 · 7 comments · Fixed by #23
Closed

fix: conflict with chat-command #22

LTHPKBTE opened this issue Jan 25, 2021 · 7 comments · Fixed by #23
Assignees
Labels
bug Something isn't working
Milestone

Comments

@LTHPKBTE
Copy link

1.开启此插件会导致chat-command插件的回馈全部变成双份(例如/help之后会发送两次帮助信息)
2.我就用了11次就显示api调用上限了...lolicon那边也不会显示调用历史,我也不知道是插件导致的还是api不行...

@Samarium150
Copy link
Owner

  1. 上传一下截图
  2. 没有apikey的话调用上限应该是10次/7200秒

@Samarium150
Copy link
Owner

补充: 插件应该是有调用历史在console里的
image

@Samarium150
Copy link
Owner

  1. 已经复现, 会尽快处理

@Samarium150 Samarium150 added the bug Something isn't working label Jan 25, 2021
@LTHPKBTE
Copy link
Author

重新看配置文件被重置成默认了...我重新加一下apikey用用试试

@Samarium150 Samarium150 added this to the Version 2.1 milestone Jan 25, 2021
@LTHPKBTE
Copy link
Author

图片
修改一下,不只是chat-command插件的回馈会变双份,mirai-console-lolicon请求失败的话也会请求两次(这是原本就有的功能吗?)

@Samarium150
Copy link
Owner

不是,bug的原因是设计这个插件时没有设计和chat-command一起使用的情况,所以mirai-console-lolicon自主实现了chat-command的一部分功能commandListener = globalEventChannel().subscribeAlways()

@Samarium150
Copy link
Owner

即mirai-console只有本插件的情况下也能在聊天环境执行命令

@Samarium150 Samarium150 changed the title 一些奇怪的bug fix: conflict with chat-command Jan 25, 2021
@Samarium150 Samarium150 self-assigned this Jan 25, 2021
Samarium150 added a commit that referenced this issue Jan 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants