add bot activity

This commit is contained in:
Ayden Jahola 2024-09-02 19:20:49 +01:00
parent b1395eb032
commit 899d3f8793
No known key found for this signature in database
GPG key ID: 71DD90AE4AE92742

View file

@ -43,6 +43,12 @@ client.once("ready", async () => {
const commands = client.commands.map((cmd) => cmd.data.toJSON()); 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); const rest = new REST({ version: "10" }).setToken(process.env.BOT_TOKEN);
try { try {