Versions in this module Expand all Collapse all v1 v1.24.19 Mar 7, 2021 Changes in this version type Plugin + func (p *Plugin) BotInit() + type PluginWithSourceDisabler interface + DisableFeed func(elem *QueuedElement, err error) type QueuedElement + AllowedMentions discordgo.AllowedMentions + Priority int v1.20.6 Sep 3, 2019 Changes in this version + const DBSchema + var ErrGuildNotFound = errors.New("Guild not found") + func IncrIDCounter() (next int64) + func QueueMessage(source, sourceID string, guildID, channel int64, msgStr string, ...) + func QueueMessageEmbed(source, sourceID string, guildID, channel int64, embed *discordgo.MessageEmbed) + func QueueMessageString(source, sourceID string, guildID, channel int64, message string) + func QueueMessageWebhook(source, sourceID string, guildID, channel int64, msgStr string, ...) + func RegisterPlugin() + func RegisterSource(name string, source PluginWithErrorHandler) + type CacheKeyWebhook int64 + type Plugin struct + func (p *Plugin) LateBotInit() + func (p *Plugin) PluginInfo() *common.PluginInfo + func (p *Plugin) StopBot(wg *sync.WaitGroup) + type PluginWithErrorHandler interface + DisableFeed func(elem *QueuedElement, err error) + type PluginWithWebhookAvatar interface + WebhookAvatar func() string + type QueuedElement struct + Channel int64 + Guild int64 + ID int64 + MessageEmbed *discordgo.MessageEmbed + MessageStr string + Source string + SourceID string + UseWebhook bool + WebhookUsername string + type Webhook struct + ChannelID int64 + GuildID int64 + ID int64 + Plugin string + Token string + func CreateWebhook(guildID int64, channelID int64, plugin string, avatar string) (*Webhook, error) + func FindCreateWebhook(guildID int64, channelID int64, plugin string, avatar string) (*Webhook, error) + type WorkItem struct