You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
new changes in #819 in clientUser#setAvatar assume parameter avatar is a string with string method startsWith, this result in TypeError: avatar.startsWith is not a function when pass in a buffer.
new changes in #819 in clientUser#setAvatar assume parameter
avatar
is a string with string methodstartsWith
, this result inTypeError: avatar.startsWith is not a function
when pass in a buffer.The doc still say support buffer as a parameter: https://discord.js.org/#/docs/main/stable/class/ClientUser?scrollTo=setAvatar
The text was updated successfully, but these errors were encountered: