Explain permissions
explain_permissionsCheck if a member or bot has a permission in a Discord server or channel, and get a clear explanation of the role and overwrite hierarchy behind the result.
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". | |
| permission | Yes | Permission name, like manage_messages. | |
| guild | No | Guild (server) name or ID. Omit to use the default guild. | |
| channel | No | Check in this channel instead of server-wide. |