utilitymod

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: 16 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 NewAboutCommand

func NewAboutCommand(m *UtilityMod) *meido.ModCommand

func NewAvatarCommand

func NewAvatarCommand(m *UtilityMod) *meido.ModCommand

func NewColorCommand

func NewColorCommand(m *UtilityMod) *meido.ModCommand

func NewInviteCommand

func NewInviteCommand(m *UtilityMod) *meido.ModCommand

func NewServerAvatarCommand

func NewServerAvatarCommand(m *UtilityMod) *meido.ModCommand

func NewServerBannerCommand

func NewServerBannerCommand(m *UtilityMod) *meido.ModCommand

func NewServerCommand

func NewServerCommand(m *UtilityMod) *meido.ModCommand

func NewServerSplashCommand

func NewServerSplashCommand(m *UtilityMod) *meido.ModCommand

func NewUserInfoCommand

func NewUserInfoCommand(m *UtilityMod) *meido.ModCommand

func NewUserPermsCommand

func NewUserPermsCommand(m *UtilityMod) *meido.ModCommand

Types

type UtilityMod

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

func (*UtilityMod) AllowDMs

func (m *UtilityMod) AllowDMs() bool

func (*UtilityMod) AllowedTypes

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

func (*UtilityMod) Commands

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

func (*UtilityMod) Hook

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

func (*UtilityMod) Load

func (m *UtilityMod) Load() error

func (*UtilityMod) Name

func (m *UtilityMod) Name() string

func (*UtilityMod) Passives

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

func (*UtilityMod) RegisterCommand

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

func (*UtilityMod) Save

func (m *UtilityMod) Save() error

Jump to

Keyboard shortcuts

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