pronostiek

package
v0.0.0-...-1928642 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PronostiekCommand

type PronostiekCommand struct {
}

PronostiekCommand contains the /pronostiek command

func NewPronostiekCommand

func NewPronostiekCommand() *PronostiekCommand

PronostiekCommand gives a new PronostiekCommand

func (*PronostiekCommand) Info

func (p *PronostiekCommand) Info() []command.Command

Info return the commands in this package

func (*PronostiekCommand) InstallSlashCommands

func (p *PronostiekCommand) InstallSlashCommands(session *discordgo.Session) error

InstallSlashCommands registers the slash commands

func (*PronostiekCommand) Register

func (p *PronostiekCommand) Register(registry command.Registry, server command.Server)

Register registers the handlers

type Rank

type Rank struct {
	Name       string `json:"name"`
	Totalscore string `json:"totalscore"`
	AllCorrect int    `json:"allCorrect"`
}

Jump to

Keyboard shortcuts

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