mirror of
https://github.com/aydenjahola/discord-multipurpose-bot.git
synced 2024-11-24 01:35:55 +00:00
update how bot status is displayed
This commit is contained in:
parent
4bf3f14248
commit
5a79b539b2
1 changed files with 2 additions and 1 deletions
3
index.js
3
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`);
|
||||
|
|
Loading…
Reference in a new issue