Package discord4j.core.event.domain
Class StageInstanceDeleteEvent
java.lang.Object
discord4j.core.event.domain.Event
discord4j.core.event.domain.StageInstanceDeleteEvent
Dispatched when a
StageInstance
is deleted.
The old stage instance may not be present if stage instances are not stored.
This event is dispatched by Discord.
- See Also:
-
Constructor Summary
ConstructorDescriptionStageInstanceDeleteEvent
(GatewayDiscordClient gateway, ShardInfo shardInfo, StageInstance old) -
Method Summary
Methods inherited from class discord4j.core.event.domain.Event
getClient, getShardInfo
-
Constructor Details
-
StageInstanceDeleteEvent
public StageInstanceDeleteEvent(GatewayDiscordClient gateway, ShardInfo shardInfo, @Nullable StageInstance old)
-
-
Method Details
-
getOld
Get the deletedStageInstance
, if present- Returns:
- The deleted
StageInstance
, if present
-
toString
-