From d807067acdfe628ebf93912a3ea9ae8ae6ed5fd7 Mon Sep 17 00:00:00 2001 From: loicbersier Date: Wed, 13 Feb 2019 17:55:47 +0100 Subject: [PATCH] Also show in logs --- commands/owner/update.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/commands/owner/update.js b/commands/owner/update.js index 144d357..aab1a2b 100644 --- a/commands/owner/update.js +++ b/commands/owner/update.js @@ -21,6 +21,8 @@ class EvalCommand extends Command { const { stdout, stderr } = await exec('git pull'); message.channel.send(stdout); message.channel.send(stderr); + console.log(`stdout: ${stdout}`); + console.log(`stderr: ${stderr}`); } update(); }