who can give me a custom status bot code please ?
I can’t find a good one that works
Hey there!
I would not recommend you to copy-paste code from anywhere without understanding the code and what it is doing.
Client.on('ready', async () => {
await client.user.setPresence({ game: { name: 'name' }, status: 'idle' });
});
Read more here: typedef/PresenceData
Hey there, @khalby786!
The method, setActivity, is almost the same as presence. It calls the setPresence method internally and only allows the user to set the game; only sets the activity the client user is playing, watching, streaming, and listening.
While the setPresence method allows the user to set the full presence of the client user (including the status, afk, and game of the client user). Hope you got the difference.
Happy Glitching!
1 Like