We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73cb171 commit b25d082Copy full SHA for b25d082
src/events/Message/IA.ts
@@ -15,7 +15,7 @@ const model = genAI.getGenerativeModel({
15
const chat = model.startChat({ history: [] });
16
17
export default new Event("messageCreate", async (message) => {
18
- if (message.inGuild()) return;
+ if (!message.inGuild()) return;
19
if (!message.content.startsWith("SoulKitten")) return;
20
21
const prompt = message.content.replace("SoulKitten", "").trim();
0 commit comments