mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 08:33:30 +01:00
Fix presences probably ¯\_(ツ)_/¯
This commit is contained in:
@@ -107,7 +107,7 @@ class GuildMember {
|
||||
* @readonly
|
||||
*/
|
||||
get presence() {
|
||||
return this.guild.presences.get(this.id);
|
||||
return this.frozenPresence || this.guild.presences.get(this.id);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
*/
|
||||
class Presence {
|
||||
constructor(data) {
|
||||
if (!data) return;
|
||||
/**
|
||||
* The status of the presence:
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user