Activity doesn't change

module.exports = (client) => {
console.log(
`Ready to serve in ${client.channels.cache.size} channels on ${client.guilds.cache.size} servers, for a total of ${client.users.cache.size} users.`
);

const activity = "Bot made by rafacs-";
client.user.setActivity(activity, { type: "WATCHING" });
client.user.setStatus('dnd');
};
module.exports = (client) => {
console.log(
`Ready to serve in ${client.channels.cache.size} channels on ${client.guilds.cache.size} servers, for a total of ${client.users.cache.size} users.`
);

const activity = "Bot made by rafacs-";
client.user.setActivity(activity, { type: "WATCHING" });
client.user.setStatus('dnd');
};
20 Replies
d.js toolkit
d.js toolkit10mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button!
Ken Carbon
Ken CarbonOP10mo ago
the status is dnd but the activity isnt bot made by rafacs- its just empty
axiprime2.0
axiprime2.010mo ago
The activity type is wrong.
Ken Carbon
Ken CarbonOP10mo ago
can you tell me how is the good one?
axiprime2.0
axiprime2.010mo ago
I was looking for the list 2sec
axiprime2.0
axiprime2.010mo ago
discord-api-types documentation
discord-api-types - Imagine typings
discord-api-types is a simple Node/Deno module that brings up to date typings for Discord's API
Ken Carbon
Ken CarbonOP10mo ago
12.3.1 the version
axiprime2.0
axiprime2.010mo ago
🥲 V12 is no longer supported.
Ken Carbon
Ken CarbonOP10mo ago
oh no? damn well how do i update it
axiprime2.0
axiprime2.010mo ago
discord.js Guide
Imagine a guide... that explores the many possibilities for your discord.js bot.
Ken Carbon
Ken CarbonOP10mo ago
ok done installed it
axiprime2.0
axiprime2.010mo ago
There is more than just do the update. Is it a new bot ?
Ken Carbon
Ken CarbonOP10mo ago
nah its an old one found on my pc and it works except the activity part `-- [email protected] i updated it well, i only want the rich presence thing, cuz everything else works why tho?
axiprime2.0
axiprime2.010mo ago
There was massive change between 12>13 and 13>14
Ken Carbon
Ken CarbonOP10mo ago
oh
axiprime2.0
axiprime2.010mo ago
The link above is not only about how to update, but everything that changed that you need to amend
Ken Carbon
Ken CarbonOP10mo ago
but why does everything work except the rpc xd
axiprime2.0
axiprime2.010mo ago
It work, but is not supported.
Ken Carbon
Ken CarbonOP10mo ago
well as long as it works im happy :)
axiprime2.0
axiprime2.010mo ago
You can either downgrade then or put you to work 😛
Want results from more Discord servers?
Add your server