Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CachedEmoji ¶
type Emoji ¶
type Emoji struct { Id objects.NullableSnowflake `json:"id"` Name string `json:"name"` // if this is not a custom emote, Name will be the unicode emoji, and Id will be 0 Roles utils.Uint64StringSlice `json:"roles,omitempty"` User user.User `json:"user"` RequireColons bool `json:"require_colons"` Managed bool `json:"managed"` Animated bool `json:"animated"` }
https://discord.com/developers/docs/resources/emoji#emoji-object
func (*Emoji) ToCachedEmoji ¶
func (e *Emoji) ToCachedEmoji(guildId uint64) CachedEmoji
Click to show internal directories.
Click to hide internal directories.