Handler
Type Alias: Handler<Context>
Section titled “Type Alias: Handler<Context>”Handler<
Context> =SlashCommandHandler<Context> |ContextCommandHandler<Context,User,UserContextInteraction<Context>> |ContextCommandHandler<Context,Message,MessageContextInteraction<Context>> |ComponentHandler<Context,ComponentType.Button> |ComponentHandler<Context,ComponentType.StringSelect> |ComponentHandler<Context,ComponentType.UserSelect> |ComponentHandler<Context,ComponentType.RoleSelect> |ComponentHandler<Context,ComponentType.MentionableSelect> |ComponentHandler<Context,ComponentType.ChannelSelect> |ModalHandler<Context> |WebhookEventHandler<ApplicationWebhookEventType,Context["env"],Context["var"],boolean,any> |DynamicGuildSlashCommandHandler<Context> |DynamicGlobalSlashCommandHandler<Context> |DynamicGuildContextCommandHandler<Context> |DynamicGlobalContextCommandHandler<Context>
Defined in: handlers/index.ts:28
Union type of all possible handlers
Type Parameters
Section titled “Type Parameters”Context
Section titled “Context”Context extends BaseInteractionContext = BaseInteractionContext
