baymax:基于Python asyncio的简单电报机器人

时间:2021-02-05 09:00:42
【文件属性】:
文件名称:baymax:基于Python asyncio的简单电报机器人
文件大小:9KB
文件格式:ZIP
更新时间:2021-02-05 09:00:42
python bot telegram asyncio TelegramPython Baymax,一个基于Python asyncio的简单电报bot框架 工作正在进行中 要求 Python 3.6或更高版本 安装 pip install baymax 基本用法示例 from baymax . bot import Bot bot = Bot ( 'token' ) @ bot . on ( '/start' ) async def start_handler ( message ): await bot . reply ( message , 'Welcome!' ) bot . run () 中间件示例 @ bot . middleware async def m
【文件预览】:
baymax-master
----.pylintrc(71B)
----main.py(4KB)
----requirements.txt(80B)
----LICENSE(1KB)
----setup.cfg(26B)
----setup.py(1KB)
----README.md(1KB)
----.editorconfig(171B)
----.gitignore(71B)
----baymax()
--------__init__.py(0B)
--------markups.py(4KB)
--------logger.py(417B)
--------api.py(1KB)
--------bot.py(8KB)

网友评论