1.6.13 • Published 5 months ago

koishi-plugin-bridge-qq-discord v1.6.13

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

koishi-plugin-bridge-discord-qq

npm LICENSE NPM Downloads GitHub Actions Workflow Status

让 discord 和 qq 的消息互通

目前为自用插件,现有功能应该能正常使用,如果你需要进一步了解使用这个插件的方法可以联系我

注意事项

  1. 该程序在 discord 上使用 webhook 发送消息以营造尽可能沉浸的对话,根据 2024.8.20 的 Discord 官方回复,目前 webhook 存在如下限制:
  • 每个 Webhook 最多可以每 2 秒发送 5 个请求
  • 每 2 秒最多创建或删除 5 次 Webhook
  • 每个频道每分钟最多发送 30 次请求

    如果你的消息量超过了官方的限制,那么你很有可能会触发 rate limit 限制,从而导致无法正常发送消息

    以下为官方回复原文:

    I just heard back from the team and the rate limit on webhooks is 5 requests every two seconds per webhook ID. This limit is also applied to webhook creation and deletion. Moreover, there is a limit of 30 requests per minute per channel.

  1. 本插件目前只适配了 onebot 和 discord 适配器, 不保证其他适配器能正常使用
  2. 确保你的 onebot 协议端能最大程度地支持 go-cqhttp API 的扩展 API
  3. 本插件基于 NapCat 提供的 OneBot v11go-cqhttp API 协议开发

使用方法

  1. constant 添加项目后,在 from 和 to 中分别添加一个项目
  2. 在 from 和 to 中,platform 填入 discord 或者 onebot,频道 ID 根据不同的平台而定,自身 ID 则是 bot 的 ID,频道 ID 和自身 ID 建议使用 Koishi 自带的 inspect 插件查看 (详见 Koishi 官方文档
  3. words_blacklist 为黑名单,黑名单内的词出现在即将发送的消息中时消息将不会被发送

待办事项

  • 优化代码

功能列表

  1. QQ
    • 消息同步
    • 回复消息同步
    • @消息同步
    • 图片,gif同步
    • 表情同步
    • 文件同步
    • 视频同步
    • 合并转发消息同步
  2. Discord
    • 消息同步
    • 回复消息同步
    • 图片,gif同步
    • 表情同步
    • 文件同步
    • 视频同步
1.6.4

8 months ago

1.6.3

8 months ago

1.6.2

8 months ago

1.6.1

8 months ago

1.6.0

8 months ago

1.6.11

6 months ago

1.6.10

7 months ago

1.6.13

5 months ago

1.6.12

6 months ago

1.6.9

7 months ago

1.6.8

7 months ago

1.6.7

8 months ago

1.6.6

8 months ago

1.6.5

8 months ago

1.5.4

9 months ago

1.5.3

9 months ago

1.5.2

9 months ago

1.5.1

9 months ago

1.4.6

9 months ago

1.4.5

9 months ago

1.4.4

9 months ago

1.4.3

9 months ago

1.4.2

9 months ago

1.4.1

9 months ago

1.4.0

10 months ago

1.3.5

10 months ago

1.3.4

10 months ago

1.5.0

9 months ago

1.4.8

9 months ago

1.4.7

9 months ago

1.3.3

11 months ago

1.3.2

11 months ago

1.3.1

11 months ago

1.3.0

11 months ago

1.2.9

12 months ago

1.2.8

12 months ago

1.2.7

12 months ago

1.2.6

12 months ago

1.2.5

12 months ago

1.2.4

12 months ago

1.2.3

12 months ago

1.2.2

12 months ago

1.2.1

12 months ago

1.2.0

12 months ago

1.1.20

12 months ago

1.1.19

12 months ago

1.1.18

12 months ago

1.1.17

12 months ago

1.1.16

12 months ago

1.1.15

12 months ago

1.1.14

12 months ago

1.1.13

12 months ago

1.1.12

12 months ago

1.1.11

12 months ago

1.1.10

12 months ago

1.1.9

12 months ago

1.1.8

12 months ago

1.1.7

12 months ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago