mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23: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 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,
|
||||
|
||||
Reference in New Issue
Block a user