Explain permissions
explain_permissionsCheck whether a Discord member or bot has a specific permission in a server or channel, and trace the role and overwrite chain to explain why.
Instructions
Answer whether an actor (the bot, or a member) has a given permission, server-wide or in a channel, and explain the result through the role and overwrite chain. The preflight engine, made directly askable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actor | Yes | A member name or ID, or "bot". | |
| guild | No | Guild (server) name or ID. Omit to use the default guild. | |
| channel | No | Check in this channel instead of server-wide. | |
| permission | Yes | Permission name, like manage_messages. |