Class IntegrationDeleteEvent

java.lang.Object
discord4j.core.event.domain.Event
discord4j.core.event.domain.integration.IntegrationDeleteEvent

public class IntegrationDeleteEvent extends Event
Dispatched when an integration is deleted. This event is dispatched by Discord.
See Also:
  • Constructor Details

  • Method Details

    • getId

      public Snowflake getId()
      Gets the id of the integration.
      Returns:
      The id of the integration.
    • getGuildId

      public Snowflake getGuildId()
      Gets the id of the guild.
      Returns:
      The id of the guild.
    • getApplicationId

      public Optional<Snowflake> 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.