Skip to content

Commit b25d082

Browse files
Update IA.ts
Signed-off-by: SEBASTIAN JN <[email protected]>
1 parent 73cb171 commit b25d082

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/events/Message/IA.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const model = genAI.getGenerativeModel({
1515
const chat = model.startChat({ history: [] });
1616

1717
export default new Event("messageCreate", async (message) => {
18-
if (message.inGuild()) return;
18+
if (!message.inGuild()) return;
1919
if (!message.content.startsWith("SoulKitten")) return;
2020

2121
const prompt = message.content.replace("SoulKitten", "").trim();

0 commit comments

Comments
 (0)