cleanup(Guild): remove Guild#voice (#5091)

This commit is contained in:
Jan
2020-12-12 14:49:32 +01:00
committed by GitHub
parent b509862bfa
commit bb04e69a92
4 changed files with 4 additions and 14 deletions

View File

@@ -628,15 +628,6 @@ class Guild extends Base {
);
}
/**
* The voice state for the client user of this guild, if any
* @type {?VoiceState}
* @readonly
*/
get voice() {
return this.voiceStates.cache.get(this.client.user.id);
}
/**
* Fetches this guild.
* @returns {Promise<Guild>}