Skip to content

Commit

Permalink
Merge branch 'main' into 2.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Mooling0602 authored Oct 18, 2024
2 parents ef8a920 + 28fbd43 commit 8f3d40e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 131 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ async def main():
# 可以在此自定义报错的内容,也可以直接删除此部分忽略该接口
server.logger.info("error")
```

由于2.3.0版本新增了Matrix房间消息的分发事件,且2.3.1版本重构了这部分接口,所以该部分内容已过时。

这些过时的内容仍然持续有效,但其做法不再推荐,请等待后续更详细的文档更新。
Expand Down Expand Up @@ -152,5 +153,7 @@ def main():

## 注意
- 首次加载插件的时候,插件将自动初始化配置并卸载自己。你需要正确修改默认的配置文件,并在settings.json中启用plugin_enabled配置项以启用插件,然后重启服务器或着重载插件以正常使用。

- 不打算支持加密信息(EE2E),有需要可以二次开发修改插件,欢迎PR。

- 多语言目前只支持中文(简体)和英语(用谷歌和ChatGPT从中文翻译),任何人都可以联系我帮助完善翻译,欢迎PR到/lang语言文件中。
1 change: 0 additions & 1 deletion matrix_sync/.keep

This file was deleted.

128 changes: 0 additions & 128 deletions matrix_sync/__init__.py

This file was deleted.

2 changes: 1 addition & 1 deletion matrix_sync/token.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ async def get_tip_read():
try:
return cache["tip_read"]
except KeyError:
return False
return False
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ def on_info(server: PluginServerInterface, info: Info):
server.say(f"* {player} 执行游戏指令 -> {command}")
clientStatus = matrix_sync.client.clientStatus
if clientStatus:
sender(f"* {player} 执行游戏指令 -> {command}")
sender(f"* {player} 执行游戏指令 -> {command}")

0 comments on commit 8f3d40e

Please sign in to comment.