test
This commit is contained in:
parent
9713190402
commit
667c064d0e
4
index.js
4
index.js
@ -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.intents);
|
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 !');
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user