mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-09-29 00:32:06 +08:00
Update __init__.py
This commit is contained in:
@@ -9,7 +9,8 @@ from util.utils import scheduler, get_bot, UserExistLimiter
|
||||
from configs.config import UPDATE_GOCQ_GROUP
|
||||
from pathlib import Path
|
||||
|
||||
path = str(Path('/resources/gocqhttp_file/').absolute()) + '/'
|
||||
path = str((Path() / "resources" / "gocqhttp_file").absolute()) + '/'
|
||||
print(path)
|
||||
|
||||
lasted_gocqhttp = on_command("更新gocq", permission=GROUP, priority=5, block=True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user