Skip to content

Commit

Permalink
require的修复
Browse files Browse the repository at this point in the history
  • Loading branch information
cubstaryow committed May 25, 2024
1 parent 30f178c commit 1ebbbf1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions nonebot_plugin_authrespond/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from nonebot import require
require("nonebot_plugin_session")
require("nonebot_plugin_alconna")
require("nonebot_plugin_localstore")
from nonebot.plugin import PluginMetadata
from .config import cubplugins_permission
from nonebot.plugin import inherit_supported_adapters
Expand Down
2 changes: 0 additions & 2 deletions nonebot_plugin_authrespond/plugins_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
from nonebot.log import logger
driver = get_driver()
if config.cubplugin_datadir=="":
from nonebot import require
require("nonebot_plugin_localstore")
import nonebot_plugin_localstore as store
# 插件数据代理
data_dir = store.get_data_dir("cubplugins")
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "nonebot-plugin-authrespond"
version = "1.6.1"
version = "1.6.2"
description = "nonebot简单易用的黑名单插件,实现分插件拉黑用户/群聊/全局"
readme = "README.md"
requires-python = ">=3.10"
Expand Down

0 comments on commit 1ebbbf1

Please sign in to comment.