From 7ddf0e6a8e0a6accdf83528c8fd45aa1ef37d6ad Mon Sep 17 00:00:00 2001
From: Caleb Fontenot <foley2431@gmail.com>
Date: Tue, 4 Apr 2023 21:03:27 -0500
Subject: [PATCH] Added /drawtriangle command

---
 commands/drawTriangle.ts | 1 +
 main.ts                  | 6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/commands/drawTriangle.ts b/commands/drawTriangle.ts
index 4628686..b48f486 100644
--- a/commands/drawTriangle.ts
+++ b/commands/drawTriangle.ts
@@ -35,6 +35,7 @@ module.exports = {
 				break;
 
 		}
+		console.log(codeBlock("", output));
 		await interaction.reply(codeBlock("", output));
 		console.log("User " + interaction.user.tag + " ran /drawtriangle");
 	},
diff --git a/main.ts b/main.ts
index 7426e34..ed291b0 100644
--- a/main.ts
+++ b/main.ts
@@ -1,9 +1,9 @@
 // Require the necessary discord.js classes
-const { Client, Events, GatewayIntentBits, REST, Routes, Collection, FLAGS, MessageMentionOptions } = require('discord.js');
+const { Client, Events, GatewayIntentBits, REST, Routes, Collection, FLAGS, MessageMentionOptions, codeBlock, SlashCommandBuilder } = require('discord.js');
 const Discord = require('discord.js');
 const { clientId, guildId, token } = require('./key.json');
-const fs = require('node:fs');
-const path = require('node:path');
+let fs = require('node:fs');
+let path = require('node:path');
 
 // Create a new client instance
 const client = new Discord.Client({