From 13d19ad0c14298ca16bd75932e78873764937ce7 Mon Sep 17 00:00:00 2001 From: Neko-Life Date: Mon, 26 Jul 2021 15:11:07 +0700 Subject: [PATCH] ASYNC --- cmds/owner/update.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmds/owner/update.js b/cmds/owner/update.js index a8fee1f..764c2dc 100644 --- a/cmds/owner/update.js +++ b/cmds/owner/update.js @@ -15,7 +15,7 @@ module.exports = class update extends commando.Command { guarded: true }); } - run(msg) { + async run(msg) { return exec("bash ../../.update.sh", (xe, o, e) => { if (xe || e) { await errLog(xe || e, msg, msg.client, true, "", true);