1. 首页
  2. 数据库
  3. 其它
  4. baymax:基于Python asyncio的简单电报机器人 源码

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

上传者: 2021-02-07 12:36:56上传 ZIP文件 8.96KB 热度 14次
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
下载地址
用户评论