interaction

package
v0.0.0-...-a32040b Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrAlreadyRegistered = errors.New("interaction is already registered")

Functions

func ComponentParam

func ComponentParam(customID string, param int) string

Types

type FlairingHandler

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

type InteractionRouter

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

func (*InteractionRouter) ApplicationCommand

func (r *InteractionRouter) ApplicationCommand(name string, handler InteractionHandler) error

func (*InteractionRouter) HandleInteraction

func (r *InteractionRouter) HandleInteraction(s *discordgo.Session, i *discordgo.InteractionCreate)

func (*InteractionRouter) MessageComponent

func (r *InteractionRouter) MessageComponent(pattern string, handler InteractionHandler) error

type PlanningHandler

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

Jump to

Keyboard shortcuts

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