Class IntegrationCreateEvent
java.lang.Object
discord4j.core.event.domain.Event
discord4j.core.event.domain.integration.IntegrationCreateEvent
Dispatched when an integration is created.
This event is dispatched by Discord.
- See Also:
-
Constructor Summary
ConstructorDescriptionIntegrationCreateEvent
(GatewayDiscordClient gateway, ShardInfo shardInfo, long guildId, Integration integration) -
Method Summary
Modifier and TypeMethodDescriptionGets the id of the guild.Gets the integration created.Methods inherited from class discord4j.core.event.domain.Event
getClient, getShardInfo
-
Constructor Details
-
IntegrationCreateEvent
public IntegrationCreateEvent(GatewayDiscordClient gateway, ShardInfo shardInfo, long guildId, Integration integration)
-
-
Method Details
-
getGuildId
Gets the id of the guild.- Returns:
- The id of the guild.
-
getIntegration
Gets the integration created.- Returns:
- The integration created.
-