Class Discord4JUtils
-
- All Implemented Interfaces:
public final class Discord4JUtils
-
-
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. -
-
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);
-
-
-
-