mirror of
https://github.com/aydenjahola/discord-multipurpose-bot.git
synced 2024-11-25 10:15:55 +00:00
add bot activity
This commit is contained in:
parent
b1395eb032
commit
899d3f8793
1 changed files with 6 additions and 0 deletions
6
index.js
6
index.js
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue