2024-09-17 20:20:31 +08:00
|
|
|
|
from nonebot.plugin import PluginMetadata, inherit_supported_adapters, require
|
|
|
|
|
require("nonebot_plugin_htmlrender")
|
|
|
|
|
require("nonebot_plugin_alconna")
|
|
|
|
|
from .azure import *
|
|
|
|
|
from nonebot import get_driver
|
|
|
|
|
#from .config import ConfigModel
|
|
|
|
|
usage = """命令格式:
|
|
|
|
|
展览 <地区> [页码]
|
|
|
|
|
或
|
|
|
|
|
<地区>展览 [页码]
|
|
|
|
|
其中地区为省级行政区或地级行政区(不包含后缀)
|
|
|
|
|
(如北京,福建,平顶山,绍兴,香港...,或海外/全国)
|
|
|
|
|
|
|
|
|
|
示例:
|
|
|
|
|
展览 福建 2
|
|
|
|
|
福建展览 2
|
|
|
|
|
全国展览
|
|
|
|
|
海外展览"""
|
|
|
|
|
__author__ = "Asankilp"
|
|
|
|
|
__plugin_meta__ = PluginMetadata(
|
2024-09-28 12:24:20 +08:00
|
|
|
|
name="Marsho AI插件",
|
|
|
|
|
description="接入Azure服务的AI聊天插件",
|
2024-09-17 20:20:31 +08:00
|
|
|
|
usage=usage,
|
|
|
|
|
type="application",
|
|
|
|
|
homepage="https://github.com/LiteyukiStudio/nonebot-plugin-acgnshow",
|
|
|
|
|
supported_adapters=inherit_supported_adapters("nonebot_plugin_alconna"),
|
|
|
|
|
extra={"License":"MIT","Author":"Asankilp"}
|
|
|
|
|
)
|
|
|
|
|
driver = get_driver()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@driver.on_startup
|
|
|
|
|
async def _():
|
|
|
|
|
pass
|
|
|
|
|
|