Explain permissions
explain_permissionsCheck if a Discord member or bot has a specific permission and get a detailed explanation of how roles and channel overwrites determine 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". | |
| 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. |