automod

package
v0.0.0-...-f4937b0 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2022 License: GPL-3.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

Return true if all is okay, return false if not. This function should be "silent" if a message is okay.

func Process

func Process(s *discordgo.Session, m *discordgo.Message)

func ProcessGuildMemberAdd

func ProcessGuildMemberAdd(s *discordgo.Session, ma *discordgo.GuildMemberAdd, conf *structs.Config)

Doesn't need to return anything because this should handle everything silently

func RemoveMessage

func RemoveMessage(s *discordgo.Session, m *discordgo.Message) bool

Types

type RangeTable

type RangeTable struct {
	Lo      uint16
	Hi      uint16
	Replace []uint16
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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