Archived
1
0
Fork 0
This repository has been archived on 2024-04-26. You can view files and clone it, but cannot push or open issues or pull requests.
akari-bot/README.md
xtex 23ae1fb5f2
feat: partial matrix support (#680)
* build(deps): add matrix-nio

* build(deps): update requirements.txt for matrix-nio

* feat: add example config for matrix

* feat: init matrix support

* feat: do init sync to avoid receiving old messages

* feat: store next sync batch with file

* feat: parse matrix message

* feat: check moderator permission

* feat: redacting message

* feat: toMessageChain for m.text and m.image

* feat: drop m.notice messages

* feat: sending messages

* fix: power level fetching

* fix: rich reply fallback stripping

* style: less log

* feat: guess image content type

* fix: image upload

* feat: sending audio

* chore: add todo

* chore: add todo

* fix: use FinS.result to store room id

As the spec, room_id is an opaque identifier, and at least all valid ASCII characters except '/' and ':' can be included in room_id. This means in some servers, '|' may be included in room_id.

* fix: print RoomSendError

* fix: public rooms with two user are regarded as DM

* feat: resolving pm

* fix: nio.ErrorResponse

* feat: add post test

* feat: pm post test

* Revert "feat: pm post test"

This reverts commit 3688213c80.

* Revert "feat: add post test"

This reverts commit 259fcf54ca.

* feat: create TPM room

* feat: send typing notifications

* feat: leave empty room

* feat: rich reply formatted fallback support

* fix: import

* fix: include body in formatted rich reply fallbacks

* fix: escape line breaks in html

* fix: <br/> tag

* feat: improve matrix direct messaging

* feat: parse m.emote as m.text

* fix: command run blockingly

* fix: message send error handle

* fix: keep DM room

* fix: reuse of DM rooms

* feat: add error log

* docs: add deploy guide for matrix

* docs: add matrix to readme

* docs: add more warning

* style: remove explictly type declartion  (poljar/matrix-nio#417)

* feat: receive audio message

* feat: standard rich-reply fallback for m.emote

* chore: add matrix to bug report issues template
2023-07-30 17:41:01 +08:00

2.4 KiB
Raw Blame History

logo

小可 · AkariBot v4

GitHub issues GitHub pull requests License GitHub Repo stars GitHub tag Crowdin

介绍

小可是基于多个框架开发的可扩展、多平台机器人。图标由 Rin 十一 绘制。

目前小可还正在持续开发中。

平台

小可目前支持以下平台:

  • QQ
  • Discord
  • Telegram
  • Kook
  • Matrix

运行

公共实例

茶馆工作室和问谛居共同提供小可的公共实例。

Telegram

链接:https://t.me/oasisakaribot,支持私聊和群聊。

Discord

邀请链接:https://discord.com/oauth2/authorize?client_id=879379218209861712&scope=bot&permissions=259846044864

QQ

目前 QQ 上稳定运行的小可实例为小可三号机。由于腾讯风控问题,请 在此提交 入群申请。

此外,你也可以加入我们的测试 QQ 群来测试命令738829671

QQ 频道的测试版支持也请在上方链接申请。我们正在进行 QQ 频道官方机器人入驻,未来可能会成为官方认证的机器人。

Kook

邀请链接:https://www.kookapp.cn/app/oauth2/authorize?id=19512&permissions=949248&client_id=xiDWoVygvPsP6bov&redirect_uri=&scope=bot

自搭建

你可以 参考这里 来进行尝试搭建。

若遇到问题,可以通过 Issue 或其他方式咨询开发者。

多语言

关于小可的多语言问题,可前往 Crowdin 提出。

贡献

如您想为我们编写新的模块,可以看看这里

许可

小可使用 AGPL-3.0 协议授权。详见 ./LICENSE