Function: canJoinVoiceChannel()
canJoinVoiceChannel(
channel:VoiceBasedChannel|Nullish):boolean
Defined in: projects/utilities/packages/discord.js-utilities/src/lib/utilities.ts:109
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.