Skip to content

XiaoYue-Kun/Amiya-Bot-core

 
 

Repository files navigation

Amiya-Bot

PyPI

简洁高效的 Python 异步渐进式机器人框架,支持 KOOK、QQ频道、MiraiHttp 以及 CQHttp

官方文档:www.amiyabot.com

Install

pip install amiyabot

Get started

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())

About

异步 Python QQ 机器人框架

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 82.1%
  • CSS 16.6%
  • HTML 1.3%