文件名称:dogehouse.py:Dogehouse API的Python包装器
文件大小:18KB
文件格式:ZIP
更新时间:2024-04-14 08:24:33
Dogehouse API的Python包装器 安装 pip install dogehouse 例子 from dogehouse import DogeClient , event , command from dogehouse . entities import Message class Client ( DogeClient ): @ event async def on_ready ( self ): print ( f"Successfully connected as { self . user } !" ) await self . create_room ( "Hello World!" ) @ command async def foo ( self , ctx : Message ):
【文件预览】:
dogehouse.py-main
----README.rst(672B)
----dogehouse()
--------client.py(20KB)
--------__init__.py(1KB)
--------entities.py(6KB)
--------config.py(1KB)
--------utils()
--------exceptions.py(2KB)
----MANIFEST(243B)
----LICENSE(1KB)
----setup.cfg(40B)
----requirements.txt(26B)
----examples()
--------basic_bot2.py(2KB)
--------basic_bot.py(2KB)
----setup.py(2KB)
----.gitignore(33B)