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 ¶
func GetCommands ¶
func GetCommands(localChoices []*discordgo.ApplicationCommandOptionChoice) []*discordgo.ApplicationCommand
Types ¶
type GetLocalChoicesFn ¶ added in v0.0.2
type GetLocalChoicesFn func() []*discordgo.ApplicationCommandOptionChoice
Click to show internal directories.
Click to hide internal directories.