Documentation
¶
Index ¶
- func CreateDiscordInteractionResponse(ctx context.Context, i *discordgo.InteractionCreate, s *discordgo.Session, ...)
- func CreateDiscordMsg(msg string) *discordgo.InteractionResponseData
- func CreateErrorMsg() *discordgo.InteractionResponseData
- func CreateJokeMessage(username string, category types.JokeCategory, joke types.JokeContainer) *discordgo.InteractionResponseData
- func CreateJokeNotFoundMsg(t types.JokeType, c types.JokeCategory) *discordgo.InteractionResponseData
- func CreateTwoPartJokeMessage(username string, category types.JokeCategory, joke types.JokeTwoPartsContainer) *discordgo.InteractionResponseData
- func SendJoke(ctx context.Context, s *discordgo.Session, i *discordgo.InteractionCreate, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDiscordInteractionResponse ¶
func CreateDiscordInteractionResponse(ctx context.Context, i *discordgo.InteractionCreate, s *discordgo.Session, msg *discordgo.InteractionResponseData)
func CreateDiscordMsg ¶
func CreateDiscordMsg(msg string) *discordgo.InteractionResponseData
func CreateErrorMsg ¶
func CreateErrorMsg() *discordgo.InteractionResponseData
func CreateJokeMessage ¶
func CreateJokeMessage(username string, category types.JokeCategory, joke types.JokeContainer) *discordgo.InteractionResponseData
func CreateJokeNotFoundMsg ¶
func CreateJokeNotFoundMsg(t types.JokeType, c types.JokeCategory) *discordgo.InteractionResponseData
func CreateTwoPartJokeMessage ¶
func CreateTwoPartJokeMessage(username string, category types.JokeCategory, joke types.JokeTwoPartsContainer) *discordgo.InteractionResponseData
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.