Skip to content

Commit

Permalink
docs(VoiceState): channel can be null (#5872)
Browse files Browse the repository at this point in the history
The docs does not show that VoiceState#channel can be null
![Docs Image](https://i.imgur.com/fLqRBqm.png)
This should fix the issue
  • Loading branch information
brage-andreas committed Jun 18, 2021
1 parent e3ed74a commit 807ea2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/structures/VoiceState.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class VoiceState extends Base {

/**
* The channel that the member is connected to
* @type {?VoiceChannel|StageChannel}
* @type {?(VoiceChannel|StageChannel)}
* @readonly
*/
get channel() {
Expand Down

0 comments on commit 807ea2d

Please sign in to comment.