Documentation
¶
Index ¶
- Variables
- func ModmailAdminCreateButtonHandler(e *handler.CommandEvent) error
- func ModmailReportButtonHandler(e *handler.ComponentEvent) error
- func ModmailReportMessageHandler(e *handler.CommandEvent) error
- func ModmailReportMessageModalHandler(e *handler.ModalEvent) error
- func ModmailReportModalHandler(e *handler.ModalEvent) error
- func ModmailSettingsHandler(e *handler.CommandEvent) error
- func Register(r *handler.Mux) []discord.ApplicationCommandCreate
Constants ¶
This section is empty.
Variables ¶
View Source
var ModmailAdminCommand = discord.SlashCommandCreate{ Name: "modmail-admin", Description: "Commands for receiving and sending Modmail.", DefaultMemberPermissions: omit.NewPtr(discord.PermissionKickMembers), IntegrationTypes: []discord.ApplicationIntegrationType{discord.ApplicationIntegrationTypeGuildInstall}, Contexts: []discord.InteractionContextType{ discord.InteractionContextTypeGuild, }, Options: []discord.ApplicationCommandOption{ createSubcommand, settingsSubcommand, }, }
View Source
var ModmailReportMessageCommand = discord.MessageCommandCreate{ Name: "Report Message", Contexts: []discord.InteractionContextType{discord.InteractionContextTypeGuild}, IntegrationTypes: []discord.ApplicationIntegrationType{discord.ApplicationIntegrationTypeGuildInstall}, }
Functions ¶
func ModmailAdminCreateButtonHandler ¶
func ModmailAdminCreateButtonHandler(e *handler.CommandEvent) error
func ModmailReportButtonHandler ¶
func ModmailReportButtonHandler(e *handler.ComponentEvent) error
func ModmailReportMessageHandler ¶
func ModmailReportMessageHandler(e *handler.CommandEvent) error
func ModmailReportMessageModalHandler ¶
func ModmailReportMessageModalHandler(e *handler.ModalEvent) error
func ModmailReportModalHandler ¶
func ModmailReportModalHandler(e *handler.ModalEvent) error
func ModmailSettingsHandler ¶
func ModmailSettingsHandler(e *handler.CommandEvent) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.