ratz/src/services/chat/discord/roles.go

const Role303

type DiscordRolesCollection

type DiscordRole

func (d *DiscordRole) IsMentionable() bool {}

func (d *DiscordRole) Mention() string {}

func (d *DiscordRole) ID() string {}

func (d *DiscordRole) Name() string {}

func (d *DiscordRole) Order() int {}

func (d *DiscordRole) NextHigherRole() common.Role {}

func (d *DiscordRole) NextLowerRole() common.Role {}

func (d *DiscordRolesCollection) RolesInAscendingPrivilegeOrder() (roles []common.Role) {}

func (d *DiscordRolesCollection) RolesInDescendingPrivilegeOrder() (roles []common.Role) {}

func LoadUserRoles(s *discordgo.Session, guildid string) (roles DiscordRolesCollection) {}

func getMentionableRoles(s *discordgo.Session, GuildID string) []*discordgo.Role {}

// IsAdmin returns true if this role has the ability to Ban TeamMembers from the server
func (d *DiscordRole) IsUserAdmin() bool {}

func (d *DiscordServerSession) handleMemberChanges(s *discordgo.Session, r *discordgo.GuildMemberUpdate) {}

func (d *DiscordServerSession) processRoleChanges(usr *dynamousers.DynamoUserRecord, s *discordgo.Session, r *discordgo.GuildMemberUpdate) {}

func (d *DiscordGuild) Roles() common.RolesCollection {}

func (d *DiscordGuild) RemoveRoleFromUser(u common.UserRecord, r common.Role) {}

func (d *DiscordGuild) GrantRoleToUser(u common.UserRecord, r common.Role) {}

func (d *DiscordGuild) UserHasRole(user common.UserRecord, role common.Role) bool {}