diff --git a/index.js b/index.js index 7789d04..a47c717 100644 --- a/index.js +++ b/index.js @@ -21,7 +21,7 @@ const client = new Client({ intents: ], partials: [Partials.Message, Partials.Channel, Partials.Reaction, Partials.User], }); -console.log(client.intents); +console.log(client); const headers = { "Accept": "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' }); console.log('Bot started !');