Can discord.js store snowflakes as bigints instead of strings?

See title, I couldn't spot any options for it in the docs and I'm curious if it's possible.
2 Replies
d.js toolkit
d.js toolkit4mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button!
Mark
Mark4mo ago
They're strings because the API has them as strings and there's not support for bigints everywhere - like json So there's no point in storing them as anything other than strings because you'd be doing at least two conversions every time

Did you find this page helpful?