hjt

package
v0.0.0-...-ff1933e Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HJT

type HJT struct {
	Id            uint
	Name          string
	MatchCriteria string
	Description   string
	Category      string
	Severity      Severity
	SeverityEmoji string `gorm:"-"`
}

func (*HJT) AfterFind

func (h *HJT) AfterFind(tx *gorm.DB) (err error)

type Module

type Module struct {
	api.Module
}

func (*Module) Load

func (*Module) Load(ds *discordgo.Session)

func (*Module) Name

func (*Module) Name() string

type Severity

type Severity int
var SeverityHigh Severity = 3
var SeverityInfo Severity = 0
var SeverityLow Severity = 1
var SeverityMedium Severity = 2

func (Severity) ToEmojiString

func (s Severity) ToEmojiString() string

Jump to

Keyboard shortcuts

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