moderator

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2022 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsProfanity

func IsProfanity(str string) bool

func IsSpam

func IsSpam(msg seras.Message) bool

Types

type Mod

type Mod struct {
	// contains filtered or unexported fields
}

func New

func New() *Mod

func (*Mod) Name

func (mod *Mod) Name() string

func (*Mod) Start

func (mod *Mod) Start(stream seras.Stream, actions seras.Actions) error

func (*Mod) Stop

func (mod *Mod) Stop()

Jump to

Keyboard shortcuts

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