mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-14 10:33:30 +01:00
use null for getters (#2723)
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user