Documentation
¶
Index ¶
- func RespondToInteraction(s *discordgo.Session, i *discordgo.InteractionCreate, message string, ...)
- func RespondWithEmbed(s *discordgo.Session, i *discordgo.InteractionCreate, ...)
- func SanitizeAnnouncement(input string) string
- func SanitizeInput(input string) string
- func SendFollowupMessage(s *discordgo.Session, i *discordgo.InteractionCreate, message string, ...)
- func UpdateMessageWithEmbed(s *discordgo.Session, i *discordgo.InteractionCreate, ...)
- func WithTransaction(db *gorm.DB, fn func(*gorm.DB) error) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RespondToInteraction ¶
func RespondWithEmbed ¶
func RespondWithEmbed(s *discordgo.Session, i *discordgo.InteractionCreate, embed *discordgo.MessageEmbed, ephemeral bool)
func SanitizeAnnouncement ¶
func SanitizeInput ¶
func SendFollowupMessage ¶
func UpdateMessageWithEmbed ¶
func UpdateMessageWithEmbed(s *discordgo.Session, i *discordgo.InteractionCreate, embed *discordgo.MessageEmbed)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.