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.
Files changed (2) hide show
  1. package/lib/index.js +2 -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;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-ets2-tools-tmp",
3
3
  "description": "欧卡2 TMP在线查询、车队平台查询及活动提醒",
4
- "version": "1.1.3",
4
+ "version": "1.1.4",
5
5
  "contributors": [
6
6
  "opwop <slhp1013@qq.com>",
7
7
  "bot_actions <168329908@qq.com>"