Skip to content
This repository has been archived by the owner on Feb 11, 2023. It is now read-only.

[Bug] cc.moecraft.icq.command.interfaces.GroupCommand无法正确执行 #26

Closed
ghost opened this issue Dec 24, 2019 · 1 comment
Closed

Comments

@ghost
Copy link

ghost commented Dec 24, 2019

介绍这个 Bug:
这个BUG具体原因是GroupUserManager中的groupCache调用containsKey()方法时传入的参数有问题, 导致GroupCommand无法正确被执行

这个 Bug 是怎样出现的?
新建一个类实现GroupCommand接口, 但groupMessage方法无法正确被CommandManager调用

没有 Bug 的话应该是什么样子的?
群消息发送后应正确被CommandManager调用, 从而进入对应的groupMessage方法, 继而执行相应业务逻辑

截图:
EH8QU1VC9(AB VE6YT@GJ$1

PicqBotX 运行环境:

  • 系统: Windows 10 1903
  • 版本: 4.12.0.1015.PRE

CoolQ HTTP 运行环境:

  • 系统: Windows 10 1903
  • 酷Q 版本: 5.15.5
  • HTTP 插件版本: 4.12.3

PicqBotX 配置:

{
  "debug": false,
  "noVerify": false,
  "useAsyncCommands": true,
  "maintenanceMode": false,
  "maintenanceResponse": "- 机器人正在维护 -",
  "autoMultiAccountOptimizations": true,
  "multiAccountOptimizations": true,
  "eventPaused": false,
  "httpPaused": false,
  "apiRateLimited": false,
  "apiAsync": false,
  "commandArgsSplitRegex": " ",
  "colorSupportLevel": "FORCED",
  "logPath": "",
  "logFileName": "PicqBotX-Log",
  "logInit": false,
  "commandErrorHandler": {}
}
@hykilpikonna
Copy link
Member

修复啦w
谢谢w

hykilpikonna added a commit that referenced this issue Feb 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant