Skip to content
This repository has been archived by the owner on Oct 26, 2020. It is now read-only.

A-kirami/ClanBattleReport-Origin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ClanBattleReport-Origin

本项目基于@shewinder@mahoshohoshino插件retire(离职报告),获取Yobot数据生成当期会战报告书

特别注意

本仓库为旧版公会战报告书,现已停止更新,仅作留档
建议使用新版公会战报告书

你应注意

  1. ClanBattleReport有不同的风格模板,底图与代码需配套使用
  2. 需要hoshino V2版本

如何使用

  1. 使用前请确认yobot的API访问已开启(默认开启,如果你关闭了api访问,请重新启用)
  2. clanbattlereport中,选取一个主题文件夹,将其重命名为clanbattlereport,然后删去其余主题文件夹
  3. clanbattlereport文件夹放入hoshinomodules文件夹
  4. 安装依赖pandas
  5. matplotlib安装中文字体(Windows系统可以跳过此步骤),linux系统使用pip show matplotlib找到matplotlib的安装位置,并将msyh.ttf文件复制到matplotlib/mpl_datafont目录
  6. [插件版跳过此步骤]在__init__.py里修改链接到的yobotapi地址
  7. [插件版跳过此步骤]在data_source.py里修改yobot的数据库路径linux系统请确认相关文件的访问权限问题
  8. 修改config.py,在MODULES_ON中添加clanbattlereport

正确的文件目录结构应为

└── modules
      └──clanbattlereport
              └──clanbattlereport
                        ├─__init__.py
                        ├─data_source.py
                        ├─字体文件
                        └─模板图片

功能指令

生成离职报告

生成自己的离职报告书

生成会战报告

生成自己的本期会战报告书

看看报告@某人

查看他人的会战报告书(需要群管理权限)

当前主题

KokoroReport可可萝报告
PrincessHoliday公主假日

About

Yobot公会战报告书(旧版)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages