From aa110f81d12bae11a1437654cbdc4da8cdf0bc5f Mon Sep 17 00:00:00 2001
From: Matthew <matthew@staff.libraryofcode.org>
Date: Sun, 16 Feb 2025 08:42:53 -0500
Subject: [PATCH] changes to Eval.ts and add TLS command to index

---
 discord/commands/Eval.ts  | 4 ++--
 discord/commands/index.ts | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/discord/commands/Eval.ts b/discord/commands/Eval.ts
index 0a8453d..4c9c0fb 100644
--- a/discord/commands/Eval.ts
+++ b/discord/commands/Eval.ts
@@ -26,7 +26,7 @@ export default class Eval extends DiscordInteractionCommand {
       option.setName("depth").setDescription("The depth of the inspection.").setRequired(false)
     );
 
-    // this checks against the database and adds all of the partners that are "allowed to perform dev commands"
+    // this checks against the database and adds all the partners that are "allowed to perform dev commands"
     // doing the database check in the initialization prevents us from having to check the database every time this command is ran
     PartnerModel.find({ canPerformDevCommands: true }).then((partners) => {
       for (const partner of partners) {
@@ -68,7 +68,7 @@ export default class Eval extends DiscordInteractionCommand {
         evaled = "undefined";
       }
     } catch (error) {
-      // @ts-ignore
+      // @ts-expect-error No throws in this block return anything other than an error.
       evaled = error.stack;
     }
 
diff --git a/discord/commands/index.ts b/discord/commands/index.ts
index 96cf55a..17b4f22 100644
--- a/discord/commands/index.ts
+++ b/discord/commands/index.ts
@@ -1,4 +1,5 @@
 export { default as Eval } from "./Eval";
 export { default as Partner } from "./Partner";
 export { default as Ping } from "./Ping";
+export { default as TLS } from "./TLS";
 export { default as Whois } from "./Whois";