Interface DirectAudioController

    • Method Detail

      • getJDA

        @Nonnull
        JDA getJDA()
        The associated JDA instance
        Returns:
        The JDA instance
      • disconnect

        void disconnect​(@Nonnull
                        Guild guild)
        Requests to terminate the connection to a voice channel.
        Parameters:
        guild - The guild we were connected to
        See Also:
        reconnect(AudioChannel)
      • reconnect

        void reconnect​(@Nonnull
                       AudioChannel channel)
        Requests to reconnect to the voice channel in the target guild.
        Parameters:
        channel - The channel we were connected to