Amiya-Bot-core
Amiya-Bot-core copied to clipboard
异步 Python 机器人框架
Results
5
Amiya-Bot-core issues
Sort by
recently updated
recently updated
newest added
暂未找到方法复现,表现在 [AmiyaBot](https://github.com/AmiyaBot/Amiya-Bot) 的生产环境上。
import asyncio from amiyabot import Chain, AmiyaBot, Message bot = AmiyaBot(appid='x', token='x', private=True) @bot.on_message(keywords='hello') async def _(data: Message): return Chain(data).text(f'hello, {data.nickname}') asyncio.run(bot.start())