Update Discord bot activity to display website URL

main
kry008 2024-05-23 21:54:48 +02:00
parent 2c4da3c247
commit 8515157c57
1 changed files with 2 additions and 1 deletions

View File

@ -1,10 +1,11 @@
const { Events } = require('discord.js');
const { ActivityType } = require('discord.js');
module.exports = {
name: Events.ClientReady,
once: true,
execute(client) {
console.log(`Ready! Logged in as ${client.user.tag}`);
client.user.setActivity('a game', { type: 'PLAYING' });
client.user.setActivity('kry008.xyz/bot/i', { type: ActivityType.PLAYING });
},
};