of
Creates a new event waiter builder with the specified event type being awaited.
Return
A new event waiter builder
Parameters
eventType
The JDA event to wait after
T
Type of the JDA event
Throws
If the event is [RawGatewayEvent][net.dv8tion.jda.api.events.RawGatewayEvent]
but [raw events][net.dv8tion.jda.api.JDABuilder.setRawEventsEnabled] were not enabled.Content copied to clipboard