why is not working?

client.user.setActivity('Nero Bot By RR7', { type: 'PLAYING' });
No description
6 Replies
d.js toolkit
d.js toolkit2w ago
d.js docs
d.js docs2w ago
:propertysignature: ClientOptions#presence discord.js@14.24.2 Presence data to use upon login Default value: {}
Samtino
Samtino2w ago
You can set the presence data inside of your client constructor...it's recommended if you don't plan on changing it while the bot is online
- Marver
- MarverOP2w ago
ok
!                 𝐂𝐙• Solo
try this:
client.user.setPresence({ activities: [{ name: 'Nero Bot By RR7', type: ActivityType.Playing }] });
client.user.setPresence({ activities: [{ name: 'Nero Bot By RR7', type: ActivityType.Playing }] });
and make sure you add the const { ActivityType } = require('discord.js'); at the top of your script
- Marver
- MarverOP3d ago
ty it's working
No description

Did you find this page helpful?