Class ApplicationCommandDeleteEvent

    • Method Detail

      • getGuildId

        public Optional<Snowflake> getGuildId()
        Gets the Snowflake ID of the Guild involved in the event, if present.
        Returns:
        The ID of the guild involved, if present.
      • getGuild

        public Mono<Guild> getGuild()
        Requests to retrieve the Guild that had an application command deleted in this event.
        Returns:
        A Mono where, upon successful completion, emits the Guild involved in the event. If an error is received, it is emitted through the Mono.
      • getCommand

        public ApplicationCommand getCommand()
        Gets the command deleted in this event.
        Returns:
        The command deleted in this event.