From f9a565d1722f996bf8b0849c1d5d387be67196a5 Mon Sep 17 00:00:00 2001 From: Skye Date: Sat, 11 Mar 2023 11:31:18 +0900 Subject: [PATCH] OH GOD STOP --- index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.ts b/index.ts index 0d74d83..bd1191c 100644 --- a/index.ts +++ b/index.ts @@ -85,7 +85,7 @@ client.on("messageCreate", async (message) => { return { role: "assistant", content: msg.content }; } let username = msg.member?.displayName ?? msg.author.username; - if (username.includes("skyevg") && msg.author.id != "1038096782963507210") + if (username.toLowerCase().includes("skyevg") && msg.author.id != "1038096782963507210") username = msg.author.username; // no impersonating :) return { role: "user",