censor

package
v0.0.0-...-f0575cf Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Censor

type Censor interface {
	LogTimestamp(m *discordgo.MessageCreate) error
	BindLabelToID(authorID string, label string) error
	GetBindedLabelFromID(authorID string) (string, error)
	GetTimestampHash() (*map[string]string, error)
	GetTiemstampByID(authorID string) (string, error)
}

Censor is censorship for messages.

func NewCensor

func NewCensor() Censor

NewCensor is instantinate a censorship implementation.

Jump to

Keyboard shortcuts

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