You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: this.get is not a function
at KoishiDatabase.getAssignedChannels (F:\TypeScript\koishi-app\node_modules\@koishijs\core\src\database.ts:192:17)
at KoishiDatabase.broadcast (F:\TypeScript\koishi-app\node_modules\@koishijs\core\src\database.ts:215:29)
at broadcast (f:\TypeScript\koishi-app\external\rsshub-koishi\src\index.ts:271:9)
at <anonymous> (f:\TypeScript\koishi-app\external\rsshub-koishi\src\index.ts:286:7)
at Array.forEach (<anonymous>)
at Command.broadcastNews (f:\TypeScript\koishi-app\external\rsshub-koishi\src\index.ts:285:12)
at Array.<anonymous> (F:\TypeScript\koishi-app\node_modules\@koishijs\core\src\command\command.ts:287:14)
at Command.execute (F:\TypeScript\koishi-app\node_modules\@koishijs\core\src\command\command.ts:303:22)
at <anonymous> (F:\TypeScript\koishi-app\node_modules\@koishijs\core\src\session.ts:446:22)
at Proxy.withScope (F:\TypeScript\koishi-app\node_modules\@koishijs\core\src\session.ts:343:22)
起初我以为是我的代码随着版本更新后失效,结果发现问题根源似乎是broadcast这个api导致的
Versions
System:
OS: Windows 10 10.0.19045
CPU: (8) x64 Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz
Binaries:
Node: 20.11.1
npm: 10.5.0
Koishi:
Core: 4.17.9
Console: 5.29.2
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
broadcast无法正常推送信息并报错
Steps to reproduce
在代码中调用broadcast这个api
示例如下:
这里的temp我用logger检查过了,输出为
['onebot:xxxxxxx']
应该是期望输出
Expected behavior
能正常广播推送信息
Screenshots
我是一个插件作者
近期发现我的插件在更新后无法正常运作
当需要广播消息的时候会在控制台出现以下报错
起初我以为是我的代码随着版本更新后失效,结果发现问题根源似乎是broadcast这个api导致的
Versions
System:
OS: Windows 10 10.0.19045
CPU: (8) x64 Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz
Binaries:
Node: 20.11.1
npm: 10.5.0
Koishi:
Core: 4.17.9
Console: 5.29.2
Additional context
No response
The text was updated successfully, but these errors were encountered: