Register a command
Register a button handler
Button.*:
Send classic V1 components
Notes
- Classic message components are row-based because that is how Discord models V1 component payloads.
- The same
Button.*helpers also work inside Components V2 accessory flows. - Use
defineButton(...)orButton.of(...)when the component also needs anexecutehandler.