bot

package
v0.0.0-...-eb3a1c1 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func DbCommand

func DbCommand(_ *discordgo.Session, interaction *discordgo.InteractionCreate, args struct{})

func RegisterCommands

func RegisterCommands(parser *switchboard.Switchboard)

func Run

func Run(inputConfig Config) error

func TestCommand

func TestCommand(_ *discordgo.Session, interaction *discordgo.InteractionCreate, args struct{})

Types

type Config

type Config struct {
	DBPath  string `default:"dunce.sqlite" split_words:"true"`
	Token   string
	GuildId string `default:"497544520695808000" split_words:"true"`
	AppId   string `default:"1294448357124870245" split_words:"true"`
}

Jump to

Keyboard shortcuts

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