Button
Buttons are interactive elements users can click to trigger specific actions. They are ideal for creating interactive messages, such as confirmation prompts or menu navigation.
Usage
Implementation
The following example demonstrates how to implement a Button using Sunar:
Reference
ButtonOptions
Prop | Type | Default |
---|---|---|
id | string | RegExp | - |
ButtonConfig
Prop | Type | Default |
---|---|---|
cooldown | CooldownResolvable | - |
Last updated on