From 24334a94f463a8f68c8a2a068f7f73dd7950c89b Mon Sep 17 00:00:00 2001 From: Ashley Graves Date: Fri, 11 Oct 2024 21:11:18 +0200 Subject: [PATCH] kms --- src/index.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index ea262b9..5810ddf 100644 --- a/src/index.js +++ b/src/index.js @@ -1,4 +1,4 @@ -const { REST, Routes, Client, Collection, GatewayIntentBits, Events, Partials, InteractionType } = require("discord.js"); +const { REST, Routes, Client, Collection, GatewayIntentBits, Events, Partials, InteractionType, ActivityType } = require("discord.js"); const { default: Groq } = require("groq-sdk"); const { knex } = require("./db.js"); const path = require("node:path"); @@ -73,6 +73,11 @@ client.on(Events.InteractionCreate, async interaction => { client.once(Events.ClientReady, async () => { console.log(`Ready! Logged in as ${client.user.displayName}`); + client.user.setActivity({ + name: "kissing my sister", + state: "dnd", + type: ActivityType.Custom + }) if (!(await knex.schema.hasTable("blacklists"))) await knex.schema.createTable("blacklists", function (table) {