Skip to content

Commit

Permalink
i frogot to renale
Browse files Browse the repository at this point in the history
  • Loading branch information
TheYande committed Sep 5, 2024
1 parent c66b442 commit 96d6731
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions modules/ai/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ const memory = new Database<{ content: string }>("aimem");
await memory.init();
defineEvent("messageCreate", async (m) => {
if (m.author.bot) return;
// if (m.channel.isTextBased())
// if (!m.channel.isDMBased())
// if (!m.channel.permissionsFor(config.roles.verified?.id ?? "")?.has("ViewChannel"))
// if (!!config.roles.verified?.id ) return
if (m.channel.isTextBased())
if (!m.channel.isDMBased())
if (!m.channel.permissionsFor(config.roles.verified?.id ?? "")?.has("ViewChannel"))
if (!!config.roles.verified?.id ) return
console.log(normalAi.getEffectiveHistory())

const forcedReply =
Expand Down

0 comments on commit 96d6731

Please sign in to comment.