-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
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#avatarDecoration property is always null. #10203
Comments
Edited the title, as I found another issue about the "banner" being null, but found it isn't null when using |
yeah, I realized the banner one needed to be force fetched after making the report. Which is why I removed it from the post. |
Unfortunately not: Discord renamed the property from Since Discord has not merged the change of documentation, there is nothing (yet) to do.
#9888 exists as a draft for when Discord is ready to document the change, but as said above, there's nothing that can be done otherwise. |
Which package is this bug report for?
discord.js
Issue description
As you can see my profile has that clown decoration. But User#avatarDecoration is showing
null
.discord.js/packages/discord.js/src/structures/User.js
Line 131 in ba6476d
Looking at the raw data from the gateway. There is no "avatar_decoration" property. Only a "avatar_decoration_data" property. Which is an object of "sku_id" and "asset" properties.
Code sample
No response
Versions
v14.14.1
Issue priority
Low (slightly annoying)
Which partials do you have configured?
No Partials
Which gateway intents are you subscribing to?
Guilds, GuildMembers, GuildModeration, GuildEmojisAndStickers, GuildPresences, GuildMessages, GuildMessageReactions, GuildMessageTyping, DirectMessages, DirectMessageReactions, DirectMessageTyping, MessageContent
I have tested this issue on a development release
No response
The text was updated successfully, but these errors were encountered: