mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-26 14:19:11 +02:00
Fix?
This commit is contained in:
@@ -51,7 +51,6 @@ module.exports = class UserInfoCommand extends commando.Command {
|
|||||||
color = 0x808080;
|
color = 0x808080;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
const userGame = user.presence.game;
|
|
||||||
const embed = new Discord.RichEmbed()
|
const embed = new Discord.RichEmbed()
|
||||||
.setColor(color)
|
.setColor(color)
|
||||||
.setThumbnail(user.displayAvatarURL)
|
.setThumbnail(user.displayAvatarURL)
|
||||||
@@ -66,7 +65,7 @@ module.exports = class UserInfoCommand extends commando.Command {
|
|||||||
.addField('**Status:**',
|
.addField('**Status:**',
|
||||||
stat, true)
|
stat, true)
|
||||||
.addField('**Playing:**',
|
.addField('**Playing:**',
|
||||||
userGame.name || 'None', true);
|
user.presence.game.name || 'None', true);
|
||||||
return message.embed(embed);
|
return message.embed(embed);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user