new ReactInterface(data)
Construct a react interface
Parameters:
| Name | Type | Description | 
|---|---|---|
| data | Object | The react interface data | 
Properties:
| Name | Type | Attributes | Default | Description | |||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| data.buttons | Array<ReactCommand> | ReactCommand | The buttons of the interface | |||||||||||||||||||||||||||
| data.options | Object | <optional> | {} | The options for the interface Properties
 | 
Members
- 
buttons : Map<String, ReactCommand>
- 
    
    The buttons of the interface 
- 
options : Object
- 
    
    The options for the interface Properties:Name Type Description designatedUsersArray<String> | undefined The IDs of the users who can use the react interface. By default, it's the owner of the message reacted on (defined by ReactionHandler.bindInterface())deleteAfterUseBoolean Whether the interface is deleted after a use or not removeReactionBoolean Whether the triggering reaction is removed after executed or not authLevelNumber The minimum auth level required to execute this command