Error with .setStatus #7775
-
Which package is this bug report for?discord.js Issue descriptionSteps to reproduce:
Code sampleconst { Client, Intents } = require('discord.js');
const client = new Client({ intents: [Intents.FLAGS.GUILDS, Intents.FLAGS.GUILD_MEMBERS, Intents.FLAGS.GUILD_PRESENCES, Intents.FLAGS.GUILD_MESSAGES] });
client.on('ready', () => {
console.log(`Logged in as ${client.user.tag}!`);
client.user.setStatus('dnd', 'test');
});
client.login("TOKEN"); Package version13.6.0 Node.js versionv16.14.2 Operating systemUbuntu 20.04 Priority this issue should haveMedium (should be fixed soon) Which partials do you have configured?Not applicable (subpackage bug) Which gateway intents are you subscribing to?Guilds, GuildMembers, GuildPresences, GuildMessages I have tested this issue on a development releaseNo response |
Beta Was this translation helpful? Give feedback.
Answered by
imranbarbhuiya
Apr 12, 2022
Replies: 1 comment
-
https://discord.js.org/#/docs/discord.js/stable/class/ClientUser?scrollTo=setStatus
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
almostSouji
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://discord.js.org/#/docs/discord.js/stable/class/ClientUser?scrollTo=setStatus
setStatus
takes shardid as 2nd parameter and you r providing a string.