docs: note cache=None/[] disables the cache button
Signed-off-by: disqualifier <dev@disqualifier.me>
This commit is contained in:
parent
fa5cdf3e1d
commit
18bbde19b6
@ -99,6 +99,8 @@ echoes its `data`.
|
|||||||
## Cache button (mention priming)
|
## Cache button (mention priming)
|
||||||
|
|
||||||
Discord clients render `<@id>` as a raw id until the user object is cached locally.
|
Discord clients render `<@id>` as a raw id until the user object is cached locally.
|
||||||
|
Omit `cache` (or pass `None` / `[]`) and the button never appears; a non-empty cache
|
||||||
|
must have one entry per page or construction raises.
|
||||||
The cache button fixes that: pass `cache=[...]` with one entry per page, where each
|
The cache button fixes that: pass `cache=[...]` with one entry per page, where each
|
||||||
entry is a string of the user mentions on that page (`"<@111> <@222> <@333>"`).
|
entry is a string of the user mentions on that page (`"<@111> <@222> <@333>"`).
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user