Drive Root
from Python.
rootpy is an async client for the Root chat platform. It runs one account — yours — from a script or a bot, and covers messages, communities, channels, roles, direct messages, friends, presence, voice signalling and the real-time gateway.
pip install rootpy-client
Put your own ids in
The samples on this page name the things you have to supply:
COMMUNITY_ID, CHANNEL_ID and the rest.
Type yours here and every example below shows them, ready to
run. Copy then gives you the version with your
ids in it. Nothing leaves your browser — this site has no
server. Clear the boxes to get the names back.
Three things to try first
Each one is a complete script. Copy it, set the ids, and run it. The sections below take every one of them further.
API reference
Every public name in the package, with its real signature. This is read straight out of the installed library, so it cannot drift from what you have. Filter it, or press Ctrl K and type a name.