Echo
Echo
### 发生了什么  handler 注册时采用`heapq`进行`优先级`排序。  使用过程中直接调用self._handlers 进行遍历 期望结果:应该使用heapq进行pop遍历才能保证handler有序。 ### 如何复现? 如上。 ### AstrBot 版本、部署方式(如 Windows Docker Desktop 部署)、使用的提供商、使用的消息平台适配器 最新的astrbot ### 操作系统 macOS ### 报错日志 无 ### 你愿意提交 PR 吗?...
### 插件仓库 https://github.com/tyql688/astrbot_plugin_wwuid_reply_enhance ### 描述 插件名: astrbot_plugin_wwuid_reply_enhance 插件作者: tyql688 插件简介: 基于astrbot的wwuid的回复增强。 支持的消息平台: ALL 标签:鸣潮 社交链接:https://github.com/tyql688/WutheringWavesUID ### Code of Conduct - [x] 我已阅读并同意遵守该项目的 [行为准则](https://docs.github.com/zh/site-policy/github-terms/github-community-code-of-conduct)。
### 1. 备份不包含 WAL 里的数据 数据库是 WAL 模式([base_models.py#L170](https://github.com/Genshin-bots/gsuid_core/blob/95f2808/gsuid_core/utils/database/base_models.py#L170)),备份却只复制 `GsData.db`([backup_core.py#L108](https://github.com/Genshin-bots/gsuid_core/blob/95f2808/gsuid_core/utils/backup/backup_core.py#L108)、[backup_files.py#L99](https://github.com/Genshin-bots/gsuid_core/blob/95f2808/gsuid_core/utils/backup/backup_files.py#L99)),最近一次 checkpoint 之后的写入不在备份里。 ```python import sqlite3, shutil c = sqlite3.connect("a.db") c.execute("PRAGMA journal_mode=WAL"); c.execute("PRAGMA wal_autocheckpoint=0") c.execute("CREATE TABLE t (x)"); c.execute("INSERT INTO t VALUES...
已下图配置为例;空前缀开启后 当前结果: 期望: 命令 [dna松露别名] 与命令 [松露别名] 相同结果 由于排序只写了优先级;所以会随机出现问题; 可以把前缀改为排序字段;以下代码仅供参考
导致使用on_regex解析的时候,会带上前缀; 输入:dna菲娜面板 期望结果:char_name == "菲娜" 当前结果:char_name == "dna菲娜"