修改env读取手段
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
from nonebot import on_command
|
||||
from nonebot.adapters.onebot.v11 import Bot, Event, GroupMessageEvent, PrivateMessageEvent
|
||||
|
||||
# Import config from __init__ to ensure it's loaded through NoneBot driver
|
||||
from . import plugin_config as config
|
||||
from .config import Config
|
||||
from .commands import get_scope, check_access, room_store, points_service
|
||||
|
||||
config = Config()
|
||||
|
||||
|
||||
async def check_tester(event: Event) -> bool:
|
||||
"""Check if user is a tester."""
|
||||
|
||||
Reference in New Issue
Block a user