Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Presence ¶
Presence represents a presence status with a game message and a status string.
func Unmarshal ¶
Unmarshal deserializes the passed raw string to a presence object and returns an error when the raw data has the wrong format.
func (*Presence) ToUpdateStatusData ¶
func (p *Presence) ToUpdateStatusData() discordgo.UpdateStatusData
ToUpdateStatusData returns a discordgo.UpdateStatusData from the presence object.
Click to show internal directories.
Click to hide internal directories.