update helps and commands (#1288)

This commit is contained in:
NotSoToothless
2026-05-30 09:09:29 -07:00
committed by GitHub
parent 7edc0202f4
commit c69478166b
3 changed files with 19 additions and 52 deletions
+7 -7
View File
@@ -4,20 +4,20 @@ Mirrors SREBOT's PREFERENCES model, adapted for TSS.
Per-guild file: ``STORAGE_VOL_PATH/PREFERENCES/<guild_id>-preferences.json`` —
**shared with SREBOT** (both bots write to the same file; entries are told apart
by ``Type``). A flat dict keyed by the watched entity id (a ``team_id`` for team
subs, a player ``uid`` for player subs)::
by ``Type``). A flat dict keyed by the watched ``team_id``::
{
"<entity_id>": {
"Type": "tss-team" | "tss-player",
"<team_id>": {
"Type": "tss-team",
"Name": "STaYA",
"Logs": "<#channelid>"
}
}
The ``Type`` value's ``tss``/``sre`` prefix marks the data source and the
``team``/``player`` suffix marks the entry kind. Channel values use the SREBOT
encoding ``"<#ID>"`` (enabled) / ``"<#DISABLED-ID>"`` (disabled).
The ``Type`` value's ``tss``/``sre`` prefix marks the data source. (The store is
generic — a future ``tss-player``/``tss-tournament`` kind could be added — but
only ``tss-team`` is written today.) Channel values use the SREBOT encoding
``"<#ID>"`` (enabled) / ``"<#DISABLED-ID>"`` (disabled).
TEAMS.json (set by ``/set-team``) records each guild's own team, mirroring
SREBOT's SQUADRONS.json::