Class ApplicationCommandPermissionUpdateEvent

    • Method Detail

      • getId

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

        public Snowflake getGuildId()
        Gets the Snowflake ID of the Guild involved in the event.
        Returns:
        The ID of the guild involved.
      • getGuild

        public Mono<Guild> getGuild()
        Requests to retrieve the Guild that had an application command updated 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.
      • getApplicationId

        public Snowflake getApplicationId()
        Gets the ID of the application the command belongs to.
        Returns:
        th ID of the application the command belongs to
      • getPermissions

        public List<ApplicationCommandPermission> getPermissions()
        Returns the permissions for the command in the guild.
        Returns:
        the permissions for the command in the guild.