loggermod

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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(name string) meido.Mod

func NewForwardDmsPassive

func NewForwardDmsPassive(m *LoggerMod) *meido.ModPassive

Types

type LoggerMod

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

func (*LoggerMod) AllowDMs

func (m *LoggerMod) AllowDMs() bool

func (*LoggerMod) AllowedTypes

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

func (*LoggerMod) Commands

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

func (*LoggerMod) Hook

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

func (*LoggerMod) Load

func (m *LoggerMod) Load() error

func (*LoggerMod) Name

func (m *LoggerMod) Name() string

func (*LoggerMod) Passives

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

func (*LoggerMod) RegisterCommand

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

func (*LoggerMod) Save

func (m *LoggerMod) Save() error

Jump to

Keyboard shortcuts

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