Skip to content

Commit

Permalink
⬆️ bump nonebot2 ^2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
KafCoppelia committed Oct 6, 2023
1 parent 394abac commit bd737fe
Show file tree
Hide file tree
Showing 4 changed files with 246 additions and 224 deletions.
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,9 @@ repos:
- id: check-added-large-files
- id: mixed-line-ending
- id: check-json

- repo: https://github.com/python-poetry/poetry
rev: 1.6.1
hooks:
- id: poetry-check
- id: poetry-lock
19 changes: 6 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ _🍗 疯狂星期四 🍗_
</a>

<a href="https://github.com/nonebot/nonebot2">
<img src="https://img.shields.io/badge/nonebot2-2.0.0rc4+-green">
<img src="https://img.shields.io/badge/nonebot2-2.0.0+-green">
</a>

<a href="https://github.com/MinatoAquaCrews/nonebot_plugin_crazy_thursday/releases/tag/v0.2.7">
<a href="https://github.com/MinatoAquaCrews/nonebot_plugin_crazy_thursday/releases/tag/v0.2.8a1">
<img src="https://img.shields.io/github/v/release/MinatoAquaCrews/nonebot_plugin_crazy_thursday?color=orange">
</a>

Expand All @@ -36,27 +36,20 @@ _🍗 疯狂星期四 🍗_

## 版本

[v0.2.7](https://github.com/MinatoAquaCrews/nonebot_plugin_crazy_thursday/releases/tag/v0.2.7)
[v0.2.8a1](https://github.com/MinatoAquaCrews/nonebot_plugin_crazy_thursday/releases/tag/v0.2.8a1)

⚠ 适配nonebot2-2.0.0rc4+
⚠ 适配nonebot2-2.0.0+

## 安装

1. 通过 `pip``nb` 安装;
1. 通过 `pip``nb-cli` 安装;

2. 文案的默认路径位于**插件同级目录**下;也可放置在别处,在 `.env` 下设置即可;`CRAZY_AUTO_UPDATE` 默认关闭,开启则插件将在启动时自动检查资源更新。例如:

```python
CRAZY_PATH="your-path-to-post.json"
CRAZY_AUTO_UPDATE=false
```
2. 文案资源默认位于**插件同级目录**下;

## 功能

天天疯狂!随机输出KFC疯狂星期四文案。

⚠ 每次启动插件会自动尝试从repo中下载最新的文案资源!

## 命令

1. 天天疯狂,疯狂星期[一|二|三|四|五|六|日|天],输入**疯狂星期八**等不合法时间将提示;
Expand Down
Loading

0 comments on commit bd737fe

Please sign in to comment.