From d70bc8bbdd69768dd747e5548e9de7c3611a32ec Mon Sep 17 00:00:00 2001 From: Supositware Date: Thu, 21 Mar 2019 20:47:40 +0100 Subject: [PATCH] added await --- commands/utility/spb.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/utility/spb.js b/commands/utility/spb.js index 8877e7d2..1faf7b20 100644 --- a/commands/utility/spb.js +++ b/commands/utility/spb.js @@ -34,7 +34,7 @@ class spbCommand extends Command { res.body.pipe(dest); }); - return message.channel.send({files: ['./spb.png']}); + return await message.channel.send({files: ['./spb.png']}); } }