Documentation ¶
Index ¶
- func ContainsAllSubstrings(haystack string, needles []string) bool
- func SliceToNaturalList(values []string) string
- func ToOptionChoices(options [][]string) []*discordgo.ApplicationCommandOptionChoice
- func ToOptionsChoice(option []string) *discordgo.ApplicationCommandOptionChoice
- func ToOptionsMap(options []*discordgo.ApplicationCommandInteractionDataOption) map[string]*discordgo.ApplicationCommandInteractionDataOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsAllSubstrings ¶
func SliceToNaturalList ¶
func ToOptionChoices ¶
func ToOptionChoices(options [][]string) []*discordgo.ApplicationCommandOptionChoice
func ToOptionsChoice ¶
func ToOptionsChoice(option []string) *discordgo.ApplicationCommandOptionChoice
func ToOptionsMap ¶
func ToOptionsMap(options []*discordgo.ApplicationCommandInteractionDataOption) map[string]*discordgo.ApplicationCommandInteractionDataOption
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.