Limits
Honest constraints of running a user account as a bot. Read this before deploying anywhere you care about.
Root's Terms of Use do not permit this
Root's Terms of Use (effective February 19, 2026) do not permit reverse engineering of the Service (Section 2.2) or the use of a robot, spider, or other automated device to monitor or copy the Service (Section 2.5). Root may suspend access temporarily and without notice (Section 1.3), or terminate your permission to use the Service immediately and without prior notice (Section 13). A bot-user account is a self-bot equivalent and can be banned. Consequences and mitigations:
- Use a throwaway alt account only, with nothing paid attached, no purchases, nothing you would miss.
- Never run the framework on your main account.
- Ban risk is real and permanent; treat the account as disposable.
The token is a session, not an API key
- There is no official token, refresh flow, or expiry notice. The Bearer token is the alt's captured session credential; its lifetime is unknown (the first captured token survived several hours of continuous use).
- Anything that ends the session, logout, password change, "log out all devices", kills the bot until you recapture.
- Whoever holds the token holds the account session. Keep
.envmode600, never commit it, never share it.
Chat is plain text only
- A user account cannot send real embeds. Rich message payloads are an App-platform feature. The music bot formats embed-style text cards instead (title, unicode progress bar, queue), readable, but plain text.
- There is no realtime chat subscription for API callers; realtime delivery rides the client's hub socket. The framework polls List every ~2 seconds, so command latency is a couple of seconds, not instant.
- Message author names are mostly unavailable: List responses only carry names for users mentioned in the fetched window (the reference maps), not for authors. Logs and gates work on user ids.
One bot, one voice
- The music bot keeps a single global queue and a single voice session. It serves many communities, but it can only be in one voice channel at a time; a
!playfrom another community while it is playing gets the gate refusal, not a second stream. - The alt must be a member of a community for the bot to see or join anything in it.
YouTube depends on the Lavalink route
- Playback relies on the youtube-source TV client + a burner account's OAuth refresh token. Google may terminate accounts used this way, and YouTube changes break clients periodically; the plugin commit pinned in the Lavalink guide is the one verified to work.
- The default cipher server is a public demo. Heavy use should self-host yt-cipher.
Root is pre-1.0 and moving
The client studied is 0.9.167. Every field number in the library was mapped from that client's shipped protocol definitions; a Root update can renumber fields or change flows, and the bot will need re-mapping. Pin your expectations accordingly, and when something breaks after a Root update, suspect the mapping before the code.