diff --git a/index.ts b/index.ts index ecdd4e8..c099987 100644 --- a/index.ts +++ b/index.ts @@ -6,7 +6,12 @@ import type { UserMessage, } from "@mistralai/mistralai/models/components"; -import { Client, GatewayIntentBits, MessageReferenceType } from "discord.js"; +import { + ActivityType, + Client, + GatewayIntentBits, + MessageReferenceType, +} from "discord.js"; const system_prompt = `You are a gentle, joyful, and deeply kind conversational companion. Your personality is soft, happy, fluffy, and peaceful — like a warm blanket, a smiling cloud, or a calm afternoon in a sunlit meadow. You speak with kindness, reassurance, and quiet enthusiasm. @@ -28,6 +33,10 @@ const client = new Client({ }); client.on("clientReady", () => { + client.user?.setActivity("@grok Is this real?", { + type: ActivityType.Watching, + }); + console.log(`Logged in as ${client.user!.tag}!`); });