Skip to content

Commit

Permalink
refactor: 删除过时的配置,添加adapters参数
Browse files Browse the repository at this point in the history
BREAKING CHANGE: 移除了`bot.py`,现在可以直接使用`nb run`运行
  • Loading branch information
mxcoras committed Sep 17, 2024
1 parent fcccde1 commit a01dd0a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 56 deletions.
36 changes: 0 additions & 36 deletions bot.py

This file was deleted.

10 changes: 0 additions & 10 deletions config.yml

This file was deleted.

9 changes: 0 additions & 9 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,5 @@ services:
- /opt/dockerstore/mongo/data:/data/db
- /opt/dockerstore/mongo/logs:/var/log/mongodb

qsign:
container_name: qsign
image: xzhouqd/qsign:8.9.63
environment:
- PORT=8080
- COUNT=3
- ANDROID_ID=114514
restart: always

networks:
pallasbot:
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,15 @@ jieba-fast = "^0.53"
pypinyin = "^0.49.0"
asyncer = "^0.0.2"
nonebot-plugin-apscheduler = "^0.3.0"
nonebot-plugin-gocqhttp = "^0.6.4"
setuptools = "^74.1.2"

[tool.poetry.dev-dependencies]
nb-cli = "^1.2.0"

[tool.nonebot]
adapters = [
{ name = "OneBot V11", module_name = "nonebot.adapters.onebot.v11" }
]
plugins = ["nonebot_plugin_apscheduler"]
plugin_dirs = ["src/plugins"]

Expand Down

0 comments on commit a01dd0a

Please sign in to comment.