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