Compare commits

..

No commits in common. "667c064d0e47b1e5c61504be1bb8af70172d7fdf" and "edda341afb4766fd82f9c224bf6e55b0094c1187" have entirely different histories.

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('clientReady', async () => { client.once('ready', 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 !');