From 2f72fb3716c79f0608531c4bdd91978968ab899e Mon Sep 17 00:00:00 2001
From: AnxietyisReal <96593068+AnxietyisReal@users.noreply.github.com>
Date: Fri, 30 Dec 2022 09:13:00 +1100
Subject: [PATCH] include error log as well

---
 src/commands/botlog.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/commands/botlog.ts b/src/commands/botlog.ts
index 0fb07bb..8394b44 100644
--- a/src/commands/botlog.ts
+++ b/src/commands/botlog.ts
@@ -3,7 +3,7 @@ import { TClient } from 'src/client';
 export default {
     async run(client: TClient, interaction: Discord.ChatInputCommandInteraction<'cached'>){
         if (!client.config.eval.whitelist.includes(interaction.user.id)) return client.youNeedRole(interaction, 'bottech');
-        (client.channels.resolve(client.config.mainServer.channels.console) as Discord.TextChannel).send({content: `Uploaded the current console dump as of <t:${Math.round(Date.now()/1000)}:R>`, files: ['../../.pm2/logs/Daggerbot-out-0.log']})
+        (client.channels.resolve(client.config.mainServer.channels.console) as Discord.TextChannel).send({content: `Uploaded the current console dump as of <t:${Math.round(Date.now()/1000)}:R>`, files: ['../../.pm2/logs/Daggerbot-out-0.log', '../../.pm2/logs/Daggerbot-error-0.log']})
         await interaction.reply('It has been uploaded to dev server.')
     },
     data: new SlashCommandBuilder()