koishi-plugin-ets2-tools-tmp 1.1.3 → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +2 -2
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -643,12 +643,12 @@ class ActivityService {
|
|
|
643
643
|
|
|
644
644
|
async sendToGroup(groupId, message, groupType) {
|
|
645
645
|
const availableBots = this.ctx.bots.filter((bot) => {
|
|
646
|
-
const unsupportedPlatforms = ["mail", "telegram", "discord"];
|
|
646
|
+
const unsupportedPlatforms = ["mail", "telegram", "discord", "qq", "wechat-official"];
|
|
647
647
|
return !unsupportedPlatforms.includes(bot.platform);
|
|
648
648
|
});
|
|
649
649
|
|
|
650
650
|
if (availableBots.length === 0) {
|
|
651
|
-
throw new Error(`没有可用的聊天平台适配器(当前不支持邮件/电报/Discord
|
|
651
|
+
throw new Error(`没有可用的聊天平台适配器(当前不支持邮件/电报/Discord/qq官机/微信公众号)`);
|
|
652
652
|
}
|
|
653
653
|
|
|
654
654
|
let lastError = null;
|