update how bot status is displayed

This commit is contained in:
Ayden Jahola 2024-10-29 00:38:47 +00:00
parent 4bf3f14248
commit 5a79b539b2
No known key found for this signature in database
GPG key ID: 71DD90AE4AE92742

View file

@ -5,6 +5,7 @@ const {
Collection, Collection,
REST, REST,
Routes, Routes,
PresenceUpdateStatus,
} = require("discord.js"); } = require("discord.js");
const mongoose = require("mongoose"); const mongoose = require("mongoose");
const fs = require("fs"); const fs = require("fs");
@ -77,7 +78,7 @@ client.once("ready", async () => {
// Set bot status and activity // Set bot status and activity
client.user.setPresence({ client.user.setPresence({
activities: [{ name: "Degenerate Gamers!", type: 3 }], activities: [{ name: "Degenerate Gamers!", type: 3 }],
status: "online", status: PresenceUpdateStatus.Online,
}); });
console.log(`\n==============================\n`); console.log(`\n==============================\n`);