moderation

package
v0.0.0-...-1928642 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: AGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ModerationCommands

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

ModerationCommands contains the tm!hello command

func NewModerationCommands

func NewModerationCommands() *ModerationCommands

NewModerationCommands gives a new ModerationCommands

func (*ModerationCommands) Info

func (m *ModerationCommands) Info() []command.Command

Info return the commands in this package

func (*ModerationCommands) InstallSlashCommands

func (m *ModerationCommands) InstallSlashCommands(session *discordgo.Session) error

InstallSlashCommands registers the slash commands

func (*ModerationCommands) Register

func (m *ModerationCommands) Register(registry command.Registry, server command.Server)

Register registers the handlers

Jump to

Keyboard shortcuts

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