fix: friendNicknames cache missing

This commit is contained in:
March 7th 2022-12-02 12:03:51 +07:00
parent 60d38d460e
commit 6d170f3555

View File

@ -84,7 +84,7 @@ class ClientUser extends User {
* @type {Collection<Snowflake, string>}
* @private
*/
this.friendNicknames = new Collection();
if (!this.friendNicknames?.size) this.friendNicknames = new Collection();
}
/**