mirror of
https://github.com/danbulant/discord.js
synced 2026-05-25 13:02:38 +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 afk = this.localPresence.afk || this.presence.afk;
|
||||
|
||||
if (!game) {
|
||||
if (!game && this.presence.game) {
|
||||
game = {
|
||||
name: this.presence.game.name,
|
||||
type: this.presence.game.type,
|
||||
|
|
|
|||
Loading…
Reference in a new issue