TheKodeToad you made me do this

This commit is contained in:
Skye 2023-03-11 11:27:04 +09:00
parent 3c414e0aea
commit b9826bcda7
Signed by: me
GPG key ID: 0104BC05F41B77B8

View file

@ -85,7 +85,7 @@ client.on("messageCreate", async (message) => {
return { role: "assistant", content: msg.content }; return { role: "assistant", content: msg.content };
} }
let username = msg.member?.displayName ?? msg.author.username; 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 :) username = msg.author.username; // no impersonating :)
return { return {
role: "user", role: "user",