messagereport

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: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomId

type CustomId struct {
	Action        string
	ChannelId     string
	MessageId     string
	UserId        string
	BaseMessageId string
}

func (*CustomId) Clone

func (c *CustomId) Clone() *CustomId

func (*CustomId) FromString

func (c *CustomId) FromString(source string)

func (*CustomId) ToString

func (c *CustomId) ToString() string

type InteractionAction

type InteractionAction struct {
	Function             func(session *discordgo.Session, interaction *discordgo.Interaction, id *CustomId)
	ButtonText           string
	RequiresConfirmation bool
	Action               string
}

type Module

type Module struct {
	api.Module
}

func (*Module) Load

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

func (*Module) Name

func (*Module) Name() string

Jump to

Keyboard shortcuts

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