Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

整理项目文件结构 #19

Open
ConsetHP opened this issue Jan 25, 2025 · 0 comments
Open

整理项目文件结构 #19

ConsetHP opened this issue Jan 25, 2025 · 0 comments

Comments

@ConsetHP
Copy link
Owner

ConsetHP commented Jan 25, 2025

自从移植了 bison 的绝大部分功能后,项目的文件开始变得臃肿,并且一些旧模块和移植后引入的新模块的文件名在命名上存在一些冲突,比如:旧的utils模块和新的utils文件夹。

为了方便后续维护,将会尽量将旧模块整理成 bison 的风格

目前打算调整以下文件:

  • utils.utils --> utils.guild 并转移 process_url 至其他模块
  • records 仅保留消息记录相关函数,其他函数比如 wordcloud 相关转移至其他模块
  • db --> db_model (重命名成 db_operator) 并和 db_config 放入新的 database 文件夹
  • db_config --> db_operator
  • minecraft_msg 较臃肿,整理部分函数至其他模块并全部放入新建的 minecraft 文件夹
  • characters 移入 utils 文件夹
@ConsetHP ConsetHP added this to the 屋岛 Bot 的 Todo-List milestone Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant