OH GOD STOP
This commit is contained in:
parent
b9826bcda7
commit
f9a565d172
1 changed files with 1 additions and 1 deletions
2
index.ts
2
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",
|
||||
|
|
Loading…
Reference in a new issue