mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix in Osu Command
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user