TheKodeToad you made me do this
This commit is contained in:
parent
3c414e0aea
commit
b9826bcda7
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 == "skyevg" && msg.author.id != "1038096782963507210")
|
||||
if (username.includes("skyevg") && msg.author.id != "1038096782963507210")
|
||||
username = msg.author.username; // no impersonating :)
|
||||
return {
|
||||
role: "user",
|
||||
|
|
Loading…
Reference in a new issue