From 5a79b539b24bba5a1062787fe372257cff6dff00 Mon Sep 17 00:00:00 2001 From: Ayden Jahola Date: Tue, 29 Oct 2024 00:38:47 +0000 Subject: [PATCH] update how bot status is displayed --- index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 5d59217..60f3037 100644 --- a/index.js +++ b/index.js @@ -5,6 +5,7 @@ const { Collection, REST, Routes, + PresenceUpdateStatus, } = require("discord.js"); const mongoose = require("mongoose"); const fs = require("fs"); @@ -77,7 +78,7 @@ client.once("ready", async () => { // Set bot status and activity client.user.setPresence({ activities: [{ name: "Degenerate Gamers!", type: 3 }], - status: "online", + status: PresenceUpdateStatus.Online, }); console.log(`\n==============================\n`);