The full execution context provided to command and snap handlers.
Extends EventPop with interaction-specific members: reply(), defer(),
options (typed slash command arguments), input (schema-validated input),
and references to the raw interaction and message objects.
Use the TInput type parameter when you supply a schema to the command — the
validated result is then available as pop.input with full type inference.
The full execution context provided to command and snap handlers.
Extends EventPop with interaction-specific members:
reply(),defer(),options(typed slash command arguments),input(schema-validated input), and references to the rawinteractionandmessageobjects.Use the
TInputtype parameter when you supply aschemato the command — the validated result is then available aspop.inputwith full type inference.Example: Reply with an embed
Example: Defer a slow command