why is not working?
client.user.setActivity('Nero Bot By RR7', { type: 'PLAYING' }); 
6 Replies
:propertysignature: ClientOptions#presence
discord.js@14.24.2
Presence data to use upon login
Default value: {}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
ok
try this:
and make sure you add the
const { ActivityType } = require('discord.js');
at the top of your scriptty it's working
