points

package
v0.0.0-...-094d83a Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	basecommand.Command
}

func New

func New() *Command

func (*Command) Description

func (c *Command) Description() string

func (*Command) Run

func (c *Command) Run(s *discordgo.Session, m *discordgo.MessageCreate, parts []string) (res pkg.CommandResult)

type User

type User struct {
	DisplayName string `json:"name"`
	Points      int64  `json:"points"`
	PointsRank  int64  `json:"points_rank"`
}

Jump to

Keyboard shortcuts

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