Class Discord4JUtils

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static Mono<Void> leave(GatewayDiscordClient $self, Snowflake guildId, Boolean selfMute, Boolean selfDeaf) Disconnects from the channel on guildId.
      final static Mono<Void> leave(GatewayDiscordClient $self, Snowflake guildId, Boolean selfMute) Disconnects from the channel on guildId.
      final static Mono<Void> leave(GatewayDiscordClient $self, Snowflake guildId) Disconnects from the channel on guildId.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • leave

         final static Mono<Void> leave(GatewayDiscordClient $self, Snowflake guildId, Boolean selfMute, Boolean selfDeaf)

        Disconnects from the channel on guildId.

        Important: If you want to use want to use this with Lavalink call installVoiceHandler first.

        Java users use:

        Discord4JUtils.leave(gatewayClient, guildId);
      • leave

         final static Mono<Void> leave(GatewayDiscordClient $self, Snowflake guildId, Boolean selfMute)

        Disconnects from the channel on guildId.

        Important: If you want to use want to use this with Lavalink call installVoiceHandler first.

        Java users use:

        Discord4JUtils.leave(gatewayClient, guildId);
      • leave

         final static Mono<Void> leave(GatewayDiscordClient $self, Snowflake guildId)

        Disconnects from the channel on guildId.

        Important: If you want to use want to use this with Lavalink call installVoiceHandler first.

        Java users use:

        Discord4JUtils.leave(gatewayClient, guildId);