Class IntegrationDeleteEvent


  • public class IntegrationDeleteEvent
    extends Event
    Dispatched when an integration is deleted. This event is dispatched by Discord.
    See Also:
    Integration Delete
    • Method Detail

      • 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.