package
0.0.0-20211209175121-4e18fe87588a
Repository: https://github.com/mavolin/adam.git
Documentation: pkg.go.dev

# Functions

CanManageMember checks if a can take administrative action on b.
CanManageRole checks if a can take administrative action on b.
CanManageRoleID checks if the role with the ID a can take administrative action on the role with the ID b.
CanMemberManageRole checks if the passed Member can take administrative action on the role with the passed id.
CanUseEmoji checks if the passed discord.Member is whitelisted to use the passed emoji.
ChannelPermissions calculates the permissions generally granted to everyone in the channel.
MemberChannelPermissions calculates the permissions the passed member has in the channel of the passed guild.
MemberPermissions calculates the permissions the passed member has in the guild.
Names returns the sorted and localized names of the passed discord.Permissions, as found in the client.

# Variables

DMPermissions are the permissions that are granted in a private channel.