Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EmojiString ¶ added in v0.0.4
Types ¶
type GuildRequester ¶
type GuildRequester interface { RequestGuildMembers(gateway.RequestGuildMembersData) error GuildSubscribe(gateway.GuildSubscribeData) error }
type MemberList ¶
type MemberList struct { ID string MemberCount uint64 OnlineCount uint64 Groups []gateway.GuildMemberListGroup Items []*gateway.GuildMemberListOpItem // contains filtered or unexported fields }
func (*MemberList) Acquire ¶
func (m *MemberList) Acquire() func()
type MemberListState ¶
type MemberListState struct { // All mutex guarded OnOP func(m *MemberList, guild discord.Snowflake, op gateway.GuildMemberListOp) OnSync func(m *MemberList, guild discord.Snowflake) // contains filtered or unexported fields }
func NewMemberListState ¶
func NewMemberListState(h handler.AddHandler) *MemberListState
func (*MemberListState) GetMemberList ¶
func (m *MemberListState) GetMemberList(guild discord.Snowflake) *MemberList
type State ¶
type State struct { *ningen.State MemberList *MemberListState // contains filtered or unexported fields }
func (*State) RequestMember ¶
Click to show internal directories.
Click to hide internal directories.