onEvent property
Future Function(DiscordClient client, String type, dynamic event)?
onEvent
getter/setter pairinherited
Gets called on any gateway event
Where type is a string with the event type and event a dictionary
Implementation
Future Function(DiscordClient client, String type, dynamic event)? onEvent;