Skip to main content

get_permissions

Function get_permissions 

Source
pub fn get_permissions(channel_id: Snowflake) -> u64
Expand description

The current user’s permission bitfield in a channel, after roles, overwrites and timeouts. All bits are set in DMs.