use of com.sx4.bot.waiter.Waiter.CancelType in project Sx4 by sx4-discord-bot.
the class Waiter method cancel.
public void cancel(GenericEvent event, CancelType type) {
this.future.completeExceptionally(new CancelException(event, type));
this.delete();
}
Aggregations