moderation

package
v0.0.0-...-4014866 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2020 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	WarnColor = 15105570
	KickColor = 15158332
	BanColor  = 12597547
)

This holds the different log colours.

Functions

func GetModule

func GetModule() *snorlax.Module

GetModule returns this module.

func SendBan

func SendBan(s *discordgo.Session, points int, channel, reason, offender, imageURL string)

SendBan will send a ban log message.

func SendKick

func SendKick(s *discordgo.Session, points int, channel, reason, offender, imageURL string)

SendKick will send a kick log message.

func SendLog

func SendLog(s *discordgo.Session, color, points int, channel, reason, offender, caseType, imageURL string)

SendLog will send a log message.

func SendWarn

func SendWarn(s *discordgo.Session, points int, channel, reason, offender, imageURL string)

SendWarn will send a warning log message.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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