Compare commits

..

2 Commits

Author SHA1 Message Date
667c064d0e test 2026-04-16 01:48:35 +02:00
9713190402 test 2026-04-16 01:43:50 +02:00

View File

@ -21,7 +21,7 @@ const client = new Client({ intents:
], ],
partials: [Partials.Message, Partials.Channel, Partials.Reaction, Partials.User], partials: [Partials.Message, Partials.Channel, Partials.Reaction, Partials.User],
}); });
console.log(client);
const headers = { const headers = {
"Accept": "application/json", "Accept": "application/json",
"Content-Type": "application/json", "Content-Type": "application/json",
@ -50,7 +50,7 @@ for (const folder of commandFolders) {
} }
} }
client.once('ready', async () => { client.once('clientReady', async () => {
client.user.setPresence({ activities: [{ name: 'Rygain', type: 'WATCHING' }], status: 'online' }); client.user.setPresence({ activities: [{ name: 'Rygain', type: 'WATCHING' }], status: 'online' });
console.log('Bot started !'); console.log('Bot started !');