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
+2 -2
View File
@@ -27,10 +27,10 @@ module.exports = class DiscrimCommand extends commando.Command {
const embed = new Discord.RichEmbed()
.setTitle(`${users.length} Users with the discriminator: ${userToSearch}`)
.setDescription(users.join(', '));
message.channel.sendEmbed(embed);
return message.channel.sendEmbed(embed);
}
else {
message.channel.send(':x: Error! This discriminator is invalid!');
return message.channel.send(':x: Error! This discriminator is invalid!');
}
}
};