sticker_list
Get all custom stickers at once. Clients call this to build a sticker picker, and again to pick up changes, since the server doesn’t broadcast them.
Request
Section titled “Request”{ "cmd": "sticker_list"}No fields besides cmd.
Response
Section titled “Response”{ "cmd": "sticker_list", "stickers": { "0": { "name": "thumbs_up", "fileName": "0.webp", "description": "" }, "2": { "name": "good_morning", "fileName": "2.png", "description": "A cat stretching in the sun" } }}stickers is an object, not an array. Each key is a sticker ID and each value has:
name: the sticker’s name.fileName: load the image fromGET /stickers/{fileName}.description: the text set when the sticker was added or updated.
A server with no stickers returns "stickers": {}.
Permissions
Section titled “Permissions”Any joined member can call it.
Errors
Section titled “Errors”val |
When |
|---|---|
Custom asset storage is unavailable |
The sticker index file can’t be read. |
