Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendRichMessage ¶
func SendRichMessage(data DiscordWebhookMessage)
Types ¶
type DiscordEmbed ¶
type DiscordEmbedField ¶
type DiscordWebHook ¶
func (*DiscordWebHook) SendError ¶
func (w *DiscordWebHook) SendError(message string, mention bool) error
func (*DiscordWebHook) SendMessage ¶
func (w *DiscordWebHook) SendMessage(message string) error
type DiscordWebhookMessage ¶
type DiscordWebhookMessage struct { Content string `json:"content"` Embeds []DiscordEmbed `json:"embeds"` }
type SendParams ¶
type SendParams struct {
Content string `json:"content"`
}
Click to show internal directories.
Click to hide internal directories.