From 899d3f8793ad7400d611f64761d9a72271afd779 Mon Sep 17 00:00:00 2001 From: Ayden Jahola Date: Mon, 2 Sep 2024 19:20:49 +0100 Subject: [PATCH] add bot activity --- index.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/index.js b/index.js index c6c1f31..431a2a4 100644 --- a/index.js +++ b/index.js @@ -43,6 +43,12 @@ client.once("ready", async () => { const commands = client.commands.map((cmd) => cmd.data.toJSON()); + // Set bot status and activity + client.user.setPresence({ + activities: [{ name: "Degenerate Gamers!", type: 3 }], + status: "online", + }); + const rest = new REST({ version: "10" }).setToken(process.env.BOT_TOKEN); try {