mirror of
https://github.com/danbulant/discord.js
synced 2026-06-09 09:42:22 +00:00
Quite possibly fix annoying bug Evie was complaining about
This commit is contained in:
parent
c4e1e4f50f
commit
e24c9c271e
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue