From e1a0048d24365a5ac6938caec18fcdd484f41fbb Mon Sep 17 00:00:00 2001 From: Naomi Carrigan Date: Wed, 30 Jul 2025 14:10:23 -0700 Subject: [PATCH] whoops --- src/index.ts | 2 +- test.ts | 14 -------------- 2 files changed, 1 insertion(+), 15 deletions(-) delete mode 100644 test.ts diff --git a/src/index.ts b/src/index.ts index 7b59dc0..3a75ebc 100644 --- a/src/index.ts +++ b/src/index.ts @@ -52,5 +52,5 @@ womp.on(Events.MessageCreate, (message) => { }); }); -await womp.login(process.env.DISCORD_TOKEN); +await womp.login(process.env.BOT_TOKEN); instantiateServer(); diff --git a/test.ts b/test.ts deleted file mode 100644 index 6a55a18..0000000 --- a/test.ts +++ /dev/null @@ -1,14 +0,0 @@ -import removeMarkdown from "remove-markdown"; - - -const invalid = "# WOMP WOMP\nThis is bold and italic text."; -const valid = "# WOMP WOMP\nwomp womp\n\nWOMP"; -const valid2 = "**womp womp**\n\n*WOMP WOMP*\n__womp womp__"; -const invalid2 = "**womp womp**."; - -const wompRegex = /^(?:\s*womp\s*)+$/i; - -console.log(wompRegex.test(removeMarkdown(invalid))) -console.log(wompRegex.test(removeMarkdown(valid))) -console.log(wompRegex.test(removeMarkdown(valid2))) -console.log(wompRegex.test(removeMarkdown(invalid2))) \ No newline at end of file