Discord Permissions in Channel (Expression) — DiSky
Addon: DiSky · Category: Expression · Since: 5.0.0-b1
Syntax
[the] discord permissions of %types.member/types.role% in [the] [channel] %types.guildchannel%Description
The effective permissions of a member or a role in one channel: its guild-wide permissions, with the channel's overrides applied (@everyone first, then the roles, then the member's own override). An administrator, and the guild owner, have every permission everywhere. In a thread, the overrides of the parent channel apply. Read-only; change the allowed or denied discord permissions of the channel instead.
Examples
set {_perms::*} to discord permissions of event-member in event-channel
if discord permissions of event-member in event-channel contain send messages:
reply with "You can talk here."