From 8515157c577df321fea23f9b24fb442df6ff2b09 Mon Sep 17 00:00:00 2001 From: kry008 Date: Thu, 23 May 2024 21:54:48 +0200 Subject: [PATCH] Update Discord bot activity to display website URL --- events/ready.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/events/ready.js b/events/ready.js index 3d5da04..0f12c26 100644 --- a/events/ready.js +++ b/events/ready.js @@ -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 }); }, };