Class IntegrationDeleteEvent
java.lang.Object
discord4j.core.event.domain.Event
discord4j.core.event.domain.integration.IntegrationDeleteEvent
Dispatched when an integration is deleted.
This event is dispatched by Discord.
- See Also:
-
Constructor Summary
ConstructorDescriptionIntegrationDeleteEvent
(GatewayDiscordClient gateway, ShardInfo shardInfo, long id, long guildId, Long applicationId) -
Method Summary
Modifier and TypeMethodDescriptionGets the id of the bot/OAuth2 application for this discord integration, if present.Gets the id of the guild.getId()
Gets the id of the integration.Methods inherited from class discord4j.core.event.domain.Event
getClient, getShardInfo
-
Constructor Details
-
IntegrationDeleteEvent
public IntegrationDeleteEvent(GatewayDiscordClient gateway, ShardInfo shardInfo, long id, long guildId, @Nullable Long applicationId)
-
-
Method Details
-
getId
Gets the id of the integration.- Returns:
- The id of the integration.
-
getGuildId
Gets the id of the guild.- Returns:
- The id of the guild.
-
getApplicationId
Gets the id of the bot/OAuth2 application for this discord integration, if present.- Returns:
- The id of the bot/OAuth2 application for this discord integration, if present.
-