modmail

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 19, 2026 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

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,
	},
}

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL