We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
User.flags.toArray()
None
discord.js
Use the code sample below on a user with any flags. Logged array will include None even though the user has flags.
const flags = await message.author.fetchFlags() // Message author needs to have any flags console.log(flags.toArray())
discord.js@14.0.0-dev.1643544396.388f535
16.13.1
Windows
Medium (should be fixed soon)
User
Guilds, GuildMembers, GuildMessages
388f535
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Which package is this bug report for?
discord.js
Issue description
Use the code sample below on a user with any flags.
Logged array will include
None
even though the user has flags.Code sample
Package version
discord.js@14.0.0-dev.1643544396.388f535
Node.js version
16.13.1
Operating system
Windows
Priority this issue should have
Medium (should be fixed soon)
Which partials do you have configured?
User
Which gateway intents are you subscribing to?
Guilds, GuildMembers, GuildMessages
I have tested this issue on a development release
388f535
The text was updated successfully, but these errors were encountered: