Packages

o

ackcord.lavaplayer

LavaplayerHandler

object LavaplayerHandler

Source
LavaplayerHandler.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LavaplayerHandler
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. case class AlreadyConnectedFailure(connectedVoiceChannelId: VoiceGuildChannelId, triedVoiceChannelId: VoiceGuildChannelId) extends Reply with Product with Serializable

    Sent as a response to ConnectVoiceChannel if the client is already connected to a different voice channel in this guild.

    Sent as a response to ConnectVoiceChannel if the client is already connected to a different voice channel in this guild.

    connectedVoiceChannelId

    The currently connected voice channel

    triedVoiceChannelId

    The channel that was tried and failed

  2. class AudioEventSender[A] extends AudioEventListener

    An adapter between com.sedmelluq.discord.lavaplayer.player.event.AudioEventListener and actors.

  3. sealed trait Command extends AnyRef
  4. case class ConnectVoiceChannel(channelId: VoiceGuildChannelId, force: Boolean = false, replyTo: ActorRef[Reply]) extends Command with Product with Serializable

    Connect to a voice channel.

    Connect to a voice channel.

    channelId

    The channel to connect to

    force

    If it should connect even if it's already connecting, or is connected to another channel(move)

  5. class ForcedConnectedException extends Exception
  6. case class ForcedConnectionFailure(oldVoiceChannelId: VoiceGuildChannelId, newVoiceChannelId: VoiceGuildChannelId) extends Reply with Product with Serializable

    Sent if a connection initially succeeded, but is forced away by something else.

    Sent if a connection initially succeeded, but is forced away by something else.

    oldVoiceChannelId

    The old voice channel id before the switch

    newVoiceChannelId

    The new voice channel id after the switch

  7. sealed trait InactiveState extends AnyRef
  8. case class MusicReady(serverId: RawSnowflake, userId: UserId) extends Reply with Product with Serializable

    Sent as a response to ConnectVoiceChannel when everything is ready.

  9. class NoMatchException extends Exception

    An exception signaling that a com.sedmelluq.discord.lavaplayer.player.AudioPlayerManager find a track.

  10. case class Parameters(player: AudioPlayer, guildId: GuildId, events: Events, context: ActorContext[Command], log: Logger) extends Product with Serializable
  11. sealed trait Reply extends AnyRef
  12. case class SetPlaying(speaking: Boolean) extends Command with Product with Serializable

    Set if the bot should be playing(speaking) or not.

    Set if the bot should be playing(speaking) or not. This is required to send sound.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def active(parameters: Parameters, state: CanSendAudio): Behavior[Command]
  5. def apply(player: AudioPlayer, guildId: GuildId, events: Events): Behavior[Command]
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  11. def handleConflictingConnect(command: ConnectVoiceChannel, parameters: Parameters, newVoiceChannelId: VoiceGuildChannelId, inVoiceChannelId: VoiceGuildChannelId, force: Boolean, firstSender: ActorRef[Reply], newSender: ActorRef[Reply], voiceHandler: Option[ActorRef[voice.VoiceHandler.Command]], readyListener: Option[ActorRef[AudioAPIMessage]], movedMonitor: Option[ActorRef[MovedMonitor.Command]]): Behavior[Command]
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  13. def inactive(parameters: Parameters, state: InactiveState): Behavior[Command]
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def loadItem(playerManager: AudioPlayerManager, identifier: String): Future[AudioItem]

    Tries to load an item given an identifier and returns it as a future.

    Tries to load an item given an identifier and returns it as a future. If there were no matches, the future fails with NoMatchException. Otherwise it fails with com.sedmelluq.discord.lavaplayer.tools.FriendlyException.

  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  19. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. case object DisconnectVoiceChannel extends Command with Product with Serializable

    Disconnect from a voice channel

  25. case object Shutdown extends Command with Product with Serializable

    Stops this lavaplyer handler gracefully, and logs out of the voice gateway if connected.

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped