Last updated:
0 purchases
backtracked 0.1.1
backtracked
A python wrapper for the QueUp API.
You can find the docs here.
Example
from backtracked import Client, Presence, Message
import logging
c = Client()
logging.basicConfig(level=logging.DEBUG, format="%(levelname)s - %(name)s: %(message)s")
@c.event
async def on_ready():
print("Logged in as {0.username}".format(c.user))
await c.join_room("my-awesome-room")
@c.event
async def on_chat(message: Message):
if message.content == "~online":
await message.room.change_presence(Presence.enter)
elif message.content == "~ping":
await message.room.send_message("Pong!")
c.run(email="[email protected]", password="my_bot_password")
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.