Closed Agnes4m closed 1 year ago
如题。希望可以实现使用指令
from nonebot_plugin_tts_gal import xx
来调用这个插件合成语音ozr
这个似乎不需要另外实现,刚才我试了一下下面的代码
from nonebot import on_fullmatch
from ..nonebot_plugin_tts_gal import voicHandler
from nonebot.adapters.onebot.v11 import Bot, MessageEvent
a = on_fullmatch("test")
@a.handle()
async def _(bot:Bot,msg_event:MessageEvent):
await voicHandler(None,msg_event,"宁宁","早上好")
是可以成功合成语音的
smart response
如题。希望可以实现使用指令
from nonebot_plugin_tts_gal import xx
来调用这个插件合成语音ozr