Skip to content
This repository has been archived by the owner on Oct 21, 2020. It is now read-only.

xiyaowong/python--iotbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bot端更新太快,该项目已不适用,请移步botoy

python-iotbot

pypi python-version

Install

pip install python-iotbot -i https://pypi.org/simple --upgrade

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/OPQ 的Python开发助手,同步易于使用,但也不那么低效🐌

Topics

Resources

License

Stars

Watchers

Forks