mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-09-30 09:10:01 +08:00
update
This commit is contained in:
@@ -2,8 +2,8 @@ from nonebot import on_command
|
||||
from nonebot.adapters.cqhttp import Bot, MessageEvent, Message
|
||||
from nonebot.typing import T_State
|
||||
from configs.config import ALAPI_TOKEN
|
||||
from util.init_result import image
|
||||
from util.utils import get_message_text
|
||||
from utils.init_result import image
|
||||
from utils.utils import get_message_text
|
||||
from .util import get_data
|
||||
from services.log import logger
|
||||
|
||||
@@ -12,7 +12,7 @@ __plugin_usage__ = '用法: b封面 (链接,av,bv,cv,直播id)\n\t' \
|
||||
'示例:b封面 av86863038'
|
||||
|
||||
|
||||
cover = on_command('b封面', priority=5, block=True)
|
||||
cover = on_command('b封面', aliases={'B封面'}, priority=5, block=True)
|
||||
|
||||
|
||||
cover_url = 'https://v2.alapi.cn/api/bilibili/cover'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import aiohttp
|
||||
from util.utils import get_local_proxy
|
||||
from utils.utils import get_local_proxy
|
||||
|
||||
|
||||
async def get_data(url: str, params: dict):
|
||||
|
||||
Reference in New Issue
Block a user