test
This commit is contained in:
parent
9744b667b8
commit
5243b5a216
4
index.js
4
index.js
@ -21,7 +21,6 @@ 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);
|
|
||||||
const headers = {
|
const headers = {
|
||||||
"Accept": "application/json",
|
"Accept": "application/json",
|
||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
@ -51,7 +50,8 @@ for (const folder of commandFolders) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
client.once('clientReady', async () => {
|
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 !');
|
console.log('Bot started !');
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user