Sujit
Sujit
DIAdiscord.js - Imagine an app
Created by Sujit on 7/11/2023 in #djs-questions
How do I use Client.updatePresence()?
@d4isdavid thankyou so much!
23 replies
DIAdiscord.js - Imagine an app
Created by Sujit on 7/11/2023 in #djs-questions
How do I use Client.updatePresence()?
Ah yes
23 replies
DIAdiscord.js - Imagine an app
Created by Sujit on 7/11/2023 in #djs-questions
How do I use Client.updatePresence()?
sadly didn't work
23 replies
DIAdiscord.js - Imagine an app
Created by Sujit on 7/11/2023 in #djs-questions
How do I use Client.updatePresence()?
But the status is still online instead of dnd
23 replies
DIAdiscord.js - Imagine an app
Created by Sujit on 7/11/2023 in #djs-questions
How do I use Client.updatePresence()?
So the activity worked, after I set afk
23 replies
DIAdiscord.js - Imagine an app
Created by Sujit on 7/11/2023 in #djs-questions
How do I use Client.updatePresence()?
oh wait
23 replies
DIAdiscord.js - Imagine an app
Created by Sujit on 7/11/2023 in #djs-questions
How do I use Client.updatePresence()?
Didn't work, tried both true and false
23 replies
DIAdiscord.js - Imagine an app
Created by Sujit on 7/11/2023 in #djs-questions
How do I use Client.updatePresence()?
since? what should I set it to?
23 replies
DIAdiscord.js - Imagine an app
Created by Sujit on 7/11/2023 in #djs-questions
How do I use Client.updatePresence()?
no error, it just shows the bot is online
23 replies
DIAdiscord.js - Imagine an app
Created by Sujit on 7/11/2023 in #djs-questions
How do I use Client.updatePresence()?
This doesn't seem to work
23 replies
DIAdiscord.js - Imagine an app
Created by Sujit on 7/11/2023 in #djs-questions
How do I use Client.updatePresence()?
client.once(GatewayDispatchEvents.Ready, async ({api}) => {
await client.updatePresence(0, {
activities: [{name: 'name', type: 3}],
status: 'dnd',
});

console.log('I\'m ready!');
});
client.once(GatewayDispatchEvents.Ready, async ({api}) => {
await client.updatePresence(0, {
activities: [{name: 'name', type: 3}],
status: 'dnd',
});

console.log('I\'m ready!');
});
23 replies