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