From 5243b5a216e1df4191d00aad5fc13645d7c11adb Mon Sep 17 00:00:00 2001 From: Louis Mazin Date: Thu, 16 Apr 2026 01:51:52 +0200 Subject: [PATCH] test --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index b793732..37f69d4 100644 --- a/index.js +++ b/index.js @@ -21,7 +21,6 @@ const client = new Client({ intents: ], partials: [Partials.Message, Partials.Channel, Partials.Reaction, Partials.User], }); -console.log(client.intents); const headers = { "Accept": "application/json", "Content-Type": "application/json", @@ -51,7 +50,8 @@ for (const folder of commandFolders) { } client.once('clientReady', async () => { - client.user.setPresence({ activities: [{ name: 'Rygain', type: 'WATCHING' }], status: 'online' }); + console.log(client.intents); + client.user.setActivity({ activities: [{ name: 'Rygain', type: 'WATCHING' }], status: 'online' }); console.log('Bot started !'); try {