mirror of
https://github.com/danbulant/discord.js
synced 2026-06-05 07:42:09 +00:00
use null for getters (#2723)
This commit is contained in:
parent
be56087c23
commit
147488df89
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ class GuildMember extends Base {
|
||||||
get speaking() {
|
get speaking() {
|
||||||
return this.voiceChannel && this.voiceChannel.connection ?
|
return this.voiceChannel && this.voiceChannel.connection ?
|
||||||
Boolean(this.voiceChannel.connection._speaking.get(this.id)) :
|
Boolean(this.voiceChannel.connection._speaking.get(this.id)) :
|
||||||
undefined;
|
null;
|
||||||
}
|
}
|
||||||
|
|
||||||
_patch(data) {
|
_patch(data) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue