More userinfo stuff

This commit is contained in:
TheEssem 2020-01-30 12:55:26 -06:00
parent 37f463d4db
commit 77b3ddbc94

View file

@ -30,15 +30,15 @@ exports.run = async (message, args) => {
},
{
"name": "💬 **Joined this server on:**",
"value": new Date(member.joinedAt).toString()
"value": member ? new Date(member.joinedAt).toString() : "N/A"
},
{
"name": " **Status:**",
"value": member.status
"value": member ? member.status : "Unknown"
},
{
"name": "🎮 **Playing:**",
"value": member.game ? member.game.name : "Nothing"
"value": member ? (member.game ? member.game.name : "Nothing") : "Unknown"
}
]
}