Skip to content

[Future] 小鱼模块分离计划 #15

@T0nyX1ang

Description

@T0nyX1ang

随着代码量增多,我觉得是时候对小鱼的功能进行一个分离,以方便其它用户进行相应的编写和调用。

以下是准备进行的改进

  • 将以下模块拆分为独立模块:

    • 数据库 littlefish._db module -> littlefish_database package
    • 权限控制 littlefish._policy module -> littlefish_policy package
    • 42点 littlefish._game.ftpts module -> littlefish_ftptsgame package,并与42点的核心模块合并
  • 将以下模块改为依赖模块:

    • 语言功能 littlefish._exclaim module -> littlefish_exclaim package
    • 联萌相应功能 littlefish._mswar module -> littlefish_LoM package
  • 前后端:

    • 机器人不再唯一依赖go-cqhttp作为其后端,可以在QQ以外的群组与个人使用
    • 设计独立的前端,不使用nonebot_test_plugin作为依赖

Metadata

Metadata

Assignees

Labels

further-planFeatures considered in the future

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions