misato

package
v0.0.0-...-b8e0bf4 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2023 License: AGPL-3.0 Imports: 2 Imported by: 0

README

A simple command library

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EventHandler

func EventHandler(sess *discordgo.Session, event *discordgo.InteractionCreate)

func Register

func Register(callback callback, data discordgo.ApplicationCommand)

func RegisterAll

func RegisterAll(sess *discordgo.Session, guildID string)

Types

type Context

type Context struct {
	Session *discordgo.Session
	Event   *discordgo.InteractionCreate
}

Jump to

Keyboard shortcuts

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