Chatbot Status
- Topic
channel.chatbot.status- Scope
bot:read
This event is triggered whenever there is a change in the chatbot’s status on the channel. It sends out a partial update containing a single modified field:
modis published when the bot account is granted or removed as a moderator on the channel.bannedis published when the bot account is banned or unbanned on the channel.
Payload
Section titled “Payload”Each event contains exactly one of the following fields:
| Parameter | Type | Description |
|---|---|---|
data.mod |
boolean |
Whether the chatbot is a moderator or not |
data.banned |
boolean |
Whether the chatbot is banned or not |
Example
Section titled “Example”{ "id": "01HNX3Q5CS8D309V6DXJ3ZADEQ", "ts": "2024-02-05T17:05:41Z", "topic": "channel.chatbot.status", "type":"message", "data": { "mod": true }}Related
Section titled “Related”- Chatbot Counters - Chatbot counter value changes
- Chatbot Timeout - User timeout notifications
- Websockets - General information about the Astro Websocket Gateway