permissions_new from API
I am assuming the
permissions_new
property being returned from the API is the new Bitwise permissions flags they recently implemented. My question is, can I rely on this property remaining or will they eventually swap it out with the usual permissions
property? Also I was trying to type the result with RESTAPIPartialCurrentUserGuild
but its missing this new permissions property, does anyone know which type includes it? Thanks11 Replies
• What's your exact discord.js
npm list discord.js
and node node -v
version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.Which api version are you using?
10
Does the .permissions value still log as number?
yeah it does
Either ur using an old api version, or Discord made a huge boo boo w/ documentation
I would ask in the dapi server
hmmm maybe I have a typo somewhere, will double check and follow up
youre right I had copied over the URL from discord docs which doesn't have the version in the URL so I guess it does fall back to a really old version
Yea, I think it defaults to v8 iirc
Oh jeez, it’s v6
wow
Forgot that its removal was postponed
thats a lotta versions to support at once