remsponder

package module
v0.0.0-...-29e735a Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2022 License: AGPL-3.0 Imports: 12 Imported by: 1

README

remsponder

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Respond

func Respond(ctx context.Context, m PubSubMessage) (err error)

Types

type PubSubMessage

type PubSubMessage struct {
	Data []byte `json:"data"`
}

type Remsponder

type Remsponder struct{}

func (Remsponder) Level

func (r Remsponder) Level(interaction kitaipu.Command) (resp kitaipu.InteractionResponse, err error)

func (Remsponder) Test

func (r Remsponder) Test(interaction kitaipu.Command) (resp kitaipu.InteractionResponse, err error)

type VerifiedInteraction

type VerifiedInteraction struct {
	Interaction kitaipu.Command `json:"interaction"`
	Token       string          `json:"token"`
}

Jump to

Keyboard shortcuts

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