Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CachedMember ¶
type Member ¶
type Member struct {
User user.User `json:"user"`
Nick string `json:"nick"`
Roles utils.Uint64StringSlice `json:"roles"`
JoinedAt time.Time `json:"joined_at"`
PremiumSince *time.Time `json:"premium_since"` // when the user started boosting the guild
Deaf bool `json:"deaf"`
Mute bool `json:"mute"`
Permissions uint64 `json:"permissions,string"`
}
func (*Member) ToCachedMember ¶
func (m *Member) ToCachedMember() CachedMember
Click to show internal directories.
Click to hide internal directories.