EventData
The data of the event.
Type parameters
Type parameter |
---|
T extends EventSubConnection |
K extends Events |
Type declaration
Member | Type | Description |
---|---|---|
event | K | The event to run. |
run | (chatbot : ChatBot <T >, data : EventsMap <T >[K ]) => any | The function which will be run when the event is triggered. |