helpmod

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: 5 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 NewHelpCommand

func NewHelpCommand(m *HelpMod) *meido.ModCommand

Types

type HelpMod

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

func (*HelpMod) AllowDMs

func (m *HelpMod) AllowDMs() bool

func (*HelpMod) AllowedTypes

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

func (*HelpMod) Commands

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

func (*HelpMod) Hook

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

func (*HelpMod) Load

func (m *HelpMod) Load() error

func (*HelpMod) Name

func (m *HelpMod) Name() string

func (*HelpMod) Passives

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

func (*HelpMod) RegisterCommand

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

func (*HelpMod) Save

func (m *HelpMod) Save() error

Jump to

Keyboard shortcuts

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