Documentation
¶
Overview ¶
Package embed handles discord message embed construction and formatting.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Author ¶
type Author struct { Colour int `json:"colour"` Name string `json:"name"` Icon string `json:"icon"` Thumbnail string `json:"thumbnail"` }
Author of an embed.
type Authors ¶
Authors known by the system.
func NewAuthors ¶
NewAuthors returns a new store backed set of authors.
type Definition ¶
Definition for an embd.
func (Definition) Build ¶
func (d Definition) Build(author Author) *discordgo.MessageSend
Build the embed into a message.
Click to show internal directories.
Click to hide internal directories.