Modbot Docs
APIAPI referenceDiscord

Get the Discord quiet channels list

GET/api/discord/reports/quiet-channels

The server's text, announcement and forum channels with when anybody last wrote in each (in the channel or any of its threads), quietest first: channels with no message at all, then the longest since the last message, then channels still being read back with nothing found yet, then channels the bot cannot read. seenBy (a role id, repeated for more) keeps the channels at least one of those roles can see, and notSeenBy the channels none of them can see: worked out from each role's server-wide permissions, @everyone's, and the channel's own overwrites (a synced channel holds its category's), with Administrator seeing everything, for somebody who holds only that role. A channel whose overwrites or role permissions are not read yet matches neither. Channels @everyone cannot see are listed by name only for someone who can also change settings; for everyone else they are left out and staffOnlyHidden counts them. roles and categories are what the page offers to narrow by. Read from what the bot already stores; nothing is asked of Discord and nothing is changed.

Needs the ViewAnalytics permission.

AuthorizationBearer <token>

An API key, made on Settings, API keys. Every key starts with mbk_.

In: header

Query Parameters

seenBy?array<string>
notSeenBy?array<string>

Response Body

application/json

application/problem+json

application/problem+json

curl -X GET "https://example.com/api/discord/reports/quiet-channels"
{  "guildId": null,  "now": "2019-08-24T14:15:22Z",  "channels": [    {      "id": "string",      "name": "string",      "type": "string",      "categoryId": null,      "categoryName": null,      "staffOnly": true,      "canRead": true,      "stillReading": true,      "lastMessageAt": null    }  ],  "staffOnlyHidden": 0,  "roles": [    {      "id": "string",      "name": "string",      "color": 0    }  ],  "categories": [    {      "id": "string",      "name": "string"    }  ]}

Modbot is not endorsed by or affiliated with VRChat Inc. or Discord Inc. VRChat is a trademark of VRChat Inc. Discord is a trademark of Discord Inc. SteamVR is a trademark of Valve Corporation. Windows is a trademark of Microsoft Corporation. Docker is a trademark of Docker, Inc. PostgreSQL is a trademark of the PostgreSQL Community Association of Canada. Railway is a trademark of Railway Corp. Other names are trademarks of their respective owners; see Legal. Modbot and its logo are trademarks of the Modbot project. Open source under AGPL-3.0.