mirror of
https://github.com/aydenjahola/discord-multipurpose-bot.git
synced 2024-11-21 16:25: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,
|
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`);
|
||||||
|
|
Loading…
Reference in a new issue