Remove all useless async

This commit is contained in:
Daniel Odendahl Jr
2017-03-24 12:16:58 +00:00
parent 33b7d18d54
commit 0ce7eb3ee1
95 changed files with 287 additions and 287 deletions
+3 -3
View File
@@ -43,14 +43,14 @@ module.exports = class BotSearchCommand extends commando.Command {
response.body.prefix, true)
.addField('**Invite:**',
`[Here](${response.body.invite_url})`, true);
message.channel.sendEmbed(embed);
return message.channel.sendEmbed(embed);
}
catch (err) {
message.channel.send(":x: Error! Bot not Found!");
return message.channel.send(":x: Error! Bot not Found!");
}
}
else {
message.channel.send(':x: Error! Please mention one bot!');
return message.channel.send(':x: Error! Please mention one bot!');
}
}
};