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
@@ -43,10 +43,10 @@ module.exports = class ForecastCommand extends commando.Command {
`**High:** ${info.item.forecast[5].high}°F, **Low:** ${info.item.forecast[5].low}°F, **Condition:** ${info.item.forecast[5].text}`)
.addField(`**${info.item.forecast[6].day} - ${info.item.forecast[6].date}:**`,
`**High:** ${info.item.forecast[6].high}°F, **Low:** ${info.item.forecast[6].low}°F, **Condition:** ${info.item.forecast[6].text}`);
message.channel.sendEmbed(embed);
return message.channel.sendEmbed(embed);
}
catch (err) {
message.channel.send(":x: Error! Make sure you typed the location correctly!");
return message.channel.send(":x: Error! Make sure you typed the location correctly!");
}
}
};