update helps and commands (#1288)
This commit is contained in:
+7
-7
@@ -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::
|
||||
|
||||
Reference in New Issue
Block a user