googlemod

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 27, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(n string) meido.Mod

func NewImageCommand

func NewImageCommand(m *GoogleMod) *meido.ModCommand

Types

type GoogleMod

type GoogleMod struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func (*GoogleMod) AllowDMs

func (m *GoogleMod) AllowDMs() bool

func (*GoogleMod) AllowedTypes

func (m *GoogleMod) AllowedTypes() meido.MessageType

func (*GoogleMod) Commands

func (m *GoogleMod) Commands() map[string]*meido.ModCommand

func (*GoogleMod) Hook

func (m *GoogleMod) Hook(b *meido.Bot) error

func (*GoogleMod) Load

func (m *GoogleMod) Load() error

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) Name

func (m *GoogleMod) Name() string

func (*GoogleMod) Passives

func (m *GoogleMod) Passives() []*meido.ModPassive

func (*GoogleMod) RegisterCommand

func (m *GoogleMod) RegisterCommand(cmd *meido.ModCommand)

func (*GoogleMod) Save

func (m *GoogleMod) Save() error

type ImageSearch

type ImageSearch struct {
	AuthorMsg    *discordgo.Message
	BotMsg       *discordgo.Message
	Images       []string
	CurrentImage int
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL