Remove tons of faulty awaits

This commit is contained in:
Daniel Odendahl Jr
2017-03-23 13:39:50 +00:00
parent 29ac65d220
commit 7d1b54b5e6
14 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ module.exports = class YodaCommand extends commando.Command {
return message.channel.send(':x: Error! Nothing to translate!');
}
else {
await request
return request
.get('https://yoda.p.mashape.com/yoda')
.set({
'X-Mashape-Key': config.mashapekey,