Adds an event handler object to this event endpoint.
"applicationCommandEvent_var" is a variable referencing an ApplicationCommandEvent object. |
"applicationCommandEvent_var" is a variable referencing an ApplicationCommandEvent object. |
| Type | Description |
| boolean | Returns true if the handler was successfully added to the set of event handlers. |
| Name | Type | Description |
| handler | ApplicationCommandEventHandler | The ApplicationCommandEventHandler to be called when this event is triggered. |