Documentation
¶
Index ¶
- func BasePermissions(g *discordgo.Guild, m *discordgo.Member) int64
- func CheckAllPermissions(basePerms int64, permissions []int64) bool
- func CheckPermission(basePerms int64, permission int64) bool
- func GetCols(s any) []string
- func MemberChannelPerms(basePerms int64, g *discordgo.Guild, m *discordgo.Member, c *discordgo.Channel) int64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BasePermissions ¶
Computes the 'base permissions' of a member
func CheckAllPermissions ¶
Check if a permission list has all permissions
func CheckPermission ¶
Check if a permission int64 has a permission
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.