perms - shinyfinder/chatot-smogon GitHub Wiki

Usage

Availability: All Guilds

/perms <perm> <in> <for>

  • perm: The name of the permission to check (uses PascalCase)
  • in: The channel or channel category
  • for: The member/role whose permissions to check

Example:

/perms perm:ViewChannel in:123456 for:987654

Permissions

  • Chatot: None
  • Users: Manage Roles

Description

Summary: Checks whether a user/role has a permission in the specified channel.

If a role is provided to for, this command returns whether the role has the specified permission in the channel, given server-level permissions and any channel overrides. Similarly, if a user is provided, the final permission of a specified user is calculated given all overrides at the server level for their roles and any channel overrides for their roles/user. In both cases, the resoning for the final answer is provided, starting with the most generic settings at the server level and specifying any overwrites at the channel level. The permission hierarchy is described here, but member overrides are the most impactful and @everyone (default) settings at the server level are the least.

If you wish to see every permission a user/role has, you can specify 'All' as the perm.

Note that because the autocomplete list of permissions is that available to bots, you may not recognize some (I didn't). A full list is available here, but if you don't recognize it, just ignore it.

⚠️ **GitHub.com Fallback** ⚠️