Documentation ¶
Index ¶
- func New(n string) meido.Mod
- func NewImageCommand(m *GoogleMod) *meido.ModCommand
- type GoogleMod
- func (m *GoogleMod) AllowDMs() bool
- func (m *GoogleMod) AllowedTypes() meido.MessageType
- func (m *GoogleMod) Commands() map[string]*meido.ModCommand
- func (m *GoogleMod) Hook(b *meido.Bot) error
- func (m *GoogleMod) Load() error
- func (m *GoogleMod) Message(msg *meido.DiscordMessage)
- func (m *GoogleMod) MessageReactionAddHandler(s *discordgo.Session, msg *discordgo.MessageReactionAdd)
- func (m *GoogleMod) MessageReactionRemoveHandler(s *discordgo.Session, msg *discordgo.MessageReactionRemove)
- func (m *GoogleMod) Name() string
- func (m *GoogleMod) Passives() []*meido.ModPassive
- func (m *GoogleMod) RegisterCommand(cmd *meido.ModCommand)
- func (m *GoogleMod) Save() error
- type ImageSearch
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewImageCommand ¶
func NewImageCommand(m *GoogleMod) *meido.ModCommand
Types ¶
type GoogleMod ¶
func (*GoogleMod) AllowedTypes ¶
func (m *GoogleMod) AllowedTypes() meido.MessageType
func (*GoogleMod) Message ¶
func (m *GoogleMod) Message(msg *meido.DiscordMessage)
func (*GoogleMod) MessageReactionAddHandler ¶
func (m *GoogleMod) MessageReactionAddHandler(s *discordgo.Session, msg *discordgo.MessageReactionAdd)
func (*GoogleMod) MessageReactionRemoveHandler ¶
func (m *GoogleMod) MessageReactionRemoveHandler(s *discordgo.Session, msg *discordgo.MessageReactionRemove)
func (*GoogleMod) Passives ¶
func (m *GoogleMod) Passives() []*meido.ModPassive
func (*GoogleMod) RegisterCommand ¶
func (m *GoogleMod) RegisterCommand(cmd *meido.ModCommand)
Click to show internal directories.
Click to hide internal directories.