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
@@ -26,7 +26,7 @@ module.exports = class DefineCommand extends commando.Command {
}
console.log(`[Command] ${message.content}`);
let defineThis = encodeURI(message.content.split(" ").slice(1).join(" "));
await request
return request
.get(`http://api.wordnik.com:80/v4/word.json/${defineThis}/definitions`)
.query({
limit: 1,