Class StageRequestToSpeakEvent


public class StageRequestToSpeakEvent extends VoiceStateUpdateEvent
Dispatched when a user connected to a stage channel makes a request to speak.

This event is dispatched by Discord.

See Also:
  • Constructor Details

  • Method Details

    • acceptRequest

      public Mono<Void> acceptRequest()
      Requests to invite the member who made the initial request to join stage speakers.
      Returns:
      A Mono where, upon successful completion, emits nothing; indicating the member has been invited to the speakers. If an error is received, it is emitted through the Mono.
    • denyRequest

      public Mono<Void> denyRequest()
      Requests to deny the initial speak request.
      Returns:
      A Mono where, upon successful completion, emits nothing; indicating the member request to speak has been denied. If an error is received, it is emitted through the Mono.
    • getStageInstance

      public Mono<StageInstance> getStageInstance()
      Get the stage instance for this request.
      Returns:
      A Mono where, upon successful completion, emits the StageInstance in which the request has been made
    • getMember

      public Mono<Member> getMember()
      Get the requesting member.
      Returns:
      A Mono where, upon successful completion, emits the Member who made this request
    • toString

      public String toString()
      Overrides:
      toString in class VoiceStateUpdateEvent