Skip to content

Improv: 目前设计可能不适合在独立发布的插件中使用 #30

@jks15satoshi

Description

@jks15satoshi

目前插件查找预设文件的方式是从配置的资源目录中检索符合当前预设的文件,这个资源目录是从 NoneBot 的配置文件中读取,适用于 bot 项目,但对于独立发布的插件项目而言并不合适,插件开发者不可能在不同的 bot 项目维护自己插件所使用到的字符串资源。

合适的方式是优化预设检索方式,插件开发者只需要在自己项目中维护字符串资源,加载进 bot 后即可被该插件统一调度。

实现细节:TBD

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions