mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-24 10:25:11 +02:00
Fix in Osu Command
This commit is contained in:
@@ -26,7 +26,7 @@ class OsuCommand extends commando.Command {
|
|||||||
"u": usernametosearch,
|
"u": usernametosearch,
|
||||||
"type": 'string'
|
"type": 'string'
|
||||||
}, function(result) {
|
}, function(result) {
|
||||||
if(result[0].username === undefined) {
|
if(result[0] === undefined) {
|
||||||
message.channel.sendMessage(":x: Error! User not found!");
|
message.channel.sendMessage(":x: Error! User not found!");
|
||||||
} else {
|
} else {
|
||||||
const embed = new Discord.RichEmbed()
|
const embed = new Discord.RichEmbed()
|
||||||
|
|||||||
Reference in New Issue
Block a user