简洁高效的异步 Python QQ 频道机器人框架
Project description
Amiya-Bot
简洁高效的异步 Python QQ 频道机器人框架
官方文档:www.amiyabot.com
pip install amiyabot
import asyncio
from amiyabot import AmiyaBot, Message, Chain
bot = AmiyaBot(appid='******', token='******')
@bot.on_message(keywords='hello')
async def _(data: Message):
return Chain(data).text(f'hello, {data.nickname}')
asyncio.run(bot.start())
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
amiyabot-1.1.0-py3-none-any.whl
(11.2 MB
view hashes)