From bddcec3e475db3f96b68343aed80c5a8d07084c5 Mon Sep 17 00:00:00 2001 From: fucksophie Date: Sat, 3 Jan 2026 22:11:12 +0200 Subject: [PATCH] add a activity --- index.ts | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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}!`); });