Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SearchableTagList ¶
type SearchableTagList []Tag
func (SearchableTagList) Len ¶
func (t SearchableTagList) Len() int
func (SearchableTagList) String ¶
func (t SearchableTagList) String(i int) string
type Tag ¶
type Tag struct { ID snowflake.ID Ident string CreatorID string GuildID string Content string Created time.Time LastEdit time.Time }
Tag wraps a chat tag object.
func (*Tag) AsEmbed ¶
func (t *Tag) AsEmbed(s *dgrs.State) *discordgo.MessageEmbed
AsEmbed creates a discordgo.MessageEmbed from the tag information.
func (*Tag) RawContent ¶
RawContent returns the content of the tags body in a markdown code embed for a discord message.
Click to show internal directories.
Click to hide internal directories.