https://github.com/monsterxcn/nonebot-plugin-gscalendar
🤖 Nonebot2 原神活动日历插件,发送来自 @NepPure/calendar.neptunia.vip 的截图
https://github.com/monsterxcn/nonebot-plugin-gscalendar
calendar genshin nonebot2 qq
Last synced: 23 days ago
JSON representation
🤖 Nonebot2 原神活动日历插件,发送来自 @NepPure/calendar.neptunia.vip 的截图
- Host: GitHub
- URL: https://github.com/monsterxcn/nonebot-plugin-gscalendar
- Owner: monsterxcn
- License: mit
- Created: 2022-06-27T10:20:36.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-06-27T11:55:36.000Z (almost 3 years ago)
- Last Synced: 2025-03-31T17:55:04.080Z (2 months ago)
- Topics: calendar, genshin, nonebot2, qq
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Nonebot Plugin GsCalendar
🤖 用于展示原神活动日历的 Nonebot2 插件
**安装方法**
> 不知道 `nonebot2.0.0b3` 用起来效果如何,因为我还在用 `nonebot2.0.0a16` 捏,大伙可以试试看。
使用以下命令安装 Nonebot Plugin GsCalendar 插件:
```bash
# 从 Git 安装
git clone https://github.com/monsterxcn/nonebot-plugin-gscalendar.git
cd nonebot-plugin-gscalendar
# 将文件夹 utils 复制到 Nonebot2 根目录下
cp -r utils /path/to/nonebot/
# 将文件夹 nonebot_plugin_gscalendar 复制到 Nonebot2 插件目录下
cp -r nonebot_plugin_gscalendar /path/to/nonebot/plugins/
```重启 Bot 即可体验此插件。
插件生成图片样式
用 JavaScript 小改了一下样式,让活动图片看起来不至于太小
**使用方法**
触发此插件的指令有: `日历`、`活动`、`calendar`。
**特别鸣谢**
[@nonebot/nonebot2](https://github.com/nonebot/nonebot2/) | [@Mrs4s/go-cqhttp](https://github.com/Mrs4s/go-cqhttp) | [@NepPure/calendar.neptunia.vip](https://github.com/NepPure/calendar.neptunia.vip)
> 感谢 [@NepPure/calendar.neptunia.vip](https://github.com/NepPure/calendar.neptunia.vip),完全不用自己写 API 查询、设计图片样式了,斯巴拉西~