Function: canJoinVoiceChannel()
canJoinVoiceChannel(
channel
:VoiceBasedChannel
|Nullish
):boolean
Determines whether the client can join the given voice based channel.
Parameters
Parameter | Type | Description |
---|---|---|
channel | VoiceBasedChannel | Nullish | The channel to test the permissions from. |
Returns
boolean
Whether or not the client can join the specified channel.
Defined in
projects/utilities/packages/discord.js-utilities/src/lib/utilities.ts:109