commands

package module
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2023 License: GPL-3.0 Imports: 3 Imported by: 11

README

Kaelly-commands

Discord commands to interact written in Go

Documentation

Index

Constants

View Source
const (
	AlignSlashCommandName  = "align"
	AlignUserCommandName   = "Alignments"
	AlignGetSubCommandName = "get"
	AlignSetSubCommandName = "set"

	AlignCityOptionName   = "city"
	AlignOrderOptionName  = "order"
	AlignLevelOptionName  = "level"
	AlignServerOptionName = "server"

	AlignmentMinLevel = 0
	AlignmentMaxLevel = 100
)
View Source
const (
	ConfigCommandName           = "config"
	ConfigGetSubCommandName     = "get"
	ConfigAlmanaxSubCommandName = "almanax"
	ConfigRSSSubCommandName     = "rss"
	ConfigTwitterSubCommandName = "twitter"
	ConfigServerSubCommandName  = "server"

	ConfigServerOptionName   = "server"
	ConfigChannelOptionName  = "channel"
	ConfigFeedTypeOptionName = "type"
	ConfigLanguageOptionName = "language"
	ConfigEnabledOptionName  = "enabled"
)
View Source
const (
	ItemCommandName = "item"

	ItemQueryOptionName = "query"
)
View Source
const (
	JobSlashCommandName  = "job"
	JobUserCommandName   = "Jobs"
	JobGetSubCommandName = "get"
	JobSetSubCommandName = "set"

	JobJobOptionName    = "job"
	JobLevelOptionName  = "level"
	JobServerOptionName = "server"

	JobMinLevel = 0
	JobMaxLevel = 200
)
View Source
const (
	PosCommandName         = "pos"
	PosDimensionOptionName = "dimension"
	PosServerOptionName    = "server"
)
View Source
const (
	AboutCommandName = "about"
)

Variables

This section is empty.

Functions

Types

type GetLocalChoicesFn added in v0.0.2

type GetLocalChoicesFn func() []*discordgo.ApplicationCommandOptionChoice

Directories

Path Synopsis
models

Jump to

Keyboard shortcuts

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