Documentation
¶
Index ¶
Constants ¶
View Source
const ( MESSAGE_BLOCK uint = 0 MESSAGE_IGNORE uint = 1 )
Variables ¶
View Source
var PluginSet map[string]Plugin
Functions ¶
func FatalError ¶
func FatalError(err error)
Types ¶
type Plugin ¶
type Plugin interface {
Do(ctx *context.Context, messageType public.MessageType, admins []string, gmap map[string][]string, guildId, channelId, userId, msg, msgId, username, avatar, srcGuildID string, useRole []string, isBot, isDirectMessage, botIsAdmin bool, priceSearch string, attachments []string) (retStuct RetStuct)
}
Click to show internal directories.
Click to hide internal directories.