Fix in Osu Command

This commit is contained in:
dragonfire535
2017-03-03 23:31:19 -05:00
parent 176de42a2f
commit 2a95ae7a70
+1 -1
View File
@@ -26,7 +26,7 @@ class OsuCommand extends commando.Command {
"u": usernametosearch,
"type": 'string'
}, function(result) {
if(result[0].username === undefined) {
if(result[0] === undefined) {
message.channel.sendMessage(":x: Error! User not found!");
} else {
const embed = new Discord.RichEmbed()