mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 20:13:30 +01:00
Quite possibly fix annoying bug Evie was complaining about
This commit is contained in:
@@ -130,7 +130,7 @@ class ClientUser extends User {
|
|||||||
let game = this.localPresence.game;
|
let game = this.localPresence.game;
|
||||||
let afk = this.localPresence.afk || this.presence.afk;
|
let afk = this.localPresence.afk || this.presence.afk;
|
||||||
|
|
||||||
if (!game) {
|
if (!game && this.presence.game) {
|
||||||
game = {
|
game = {
|
||||||
name: this.presence.game.name,
|
name: this.presence.game.name,
|
||||||
type: this.presence.game.type,
|
type: this.presence.game.type,
|
||||||
|
|||||||
Reference in New Issue
Block a user