// New creates a new discordavatar plugin.
func New() bruxism.Plugin {
	p := bruxism.NewSimplePlugin("DiscordAvatar")
	p.LoadFunc = avatarLoadFunc
	p.MessageFunc = avatarMessageFunc
	p.HelpFunc = avatarHelpFunc
	return p
}
Exemple #2
0
// New creates a new emoji plugin.
func New() bruxism.Plugin {
	p := bruxism.NewSimplePlugin("Emoji")
	p.LoadFunc = emojiLoadFunc
	p.MessageFunc = emojiMessageFunc
	p.HelpFunc = emojiHelpFunc
	return p
}
Exemple #3
0
func New() bruxism.Plugin {
	p := bruxism.NewSimplePlugin("MySon")
	p.MessageFunc = messageFunc
	p.HelpFunc = helpFunc
	return p
}