GYW2017 / python--iotbot

IOTBOT/IOTQQ Sync SDK with Python. https://xiyaowong.github.io/python--iotbot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

python-iotbot

IOTBOT sync SDK with Python

Install

pip install git+https://github.com/xiyaowong/python-iotbot.git@master

Quick Start

from iotbot import IOTBOT, GroupMsg

bot = IOTBOT(your_bot_qq)


@bot.on_group_msg
def group(ctx: GroupMsg):
    print(f"""
{ctx.FromNickName}{ctx.MsgTime}的时候,发了一个类型是{ctx.MsgType}的消息,内容为:
{ctx.Content}""")
    print(ctx.CurrentQQ)


bot.run()

documentation

LICENSE

MIT

About

IOTBOT/IOTQQ Sync SDK with Python. https://xiyaowong.github.io/python--iotbot

License:MIT License


Languages

Language:Python 100.0%