#How do I set the status of my bot?
42 messages · Page 1 of 1 (latest)
discord.js Version: 14.6.0
node.js Version: v18.12.1
show ready.js line 6
client.user.setPresence({ status: 'ready', activities: { name: 'with some scripts!', type: 'PLAYING' } });
client.user.setPresence({ status: 'ready', activities: [{ name: 'with some scripts!', type: 'PLAYING' }] });
like that?
yes
btw there is no ready status, and use enums for activity type
ActivityType.Playing
client.user.setPresence({activities: [{ name: 'with some scripts!', type: ActivityType.Playing}], status: "PLAYING"});```
like that?
why did you put status there
client.user.setPresence({status: "PLAYING", activities: [{ name: 'with some scripts!', type: ActivityType.Playing }]});
like this?
why did you put status there
idk
remove it
ok
k
client.user.setPresence({activities: [{ name: 'with some scripts!', type: ActivityType.Playing }]});
So like this?
yes
import it
how?
const { ActivityType } = require('discord.js');
ok
Ay I saw you stop typing and that was it it was open season
what
you were typing and I did not send but it showed you stop and I thought you were not gonna respond
i was about to say that i already made enough tips