neon
DIAdiscord.js - Imagine an app
•Created by neon on 10/20/2024 in #djs-questions
Do not know how to serialize a BigInt at JSON.stringify
welp a little 180 lines of code later and i can now set my slash commands in 2 ways lol
22 replies
DIAdiscord.js - Imagine an app
•Created by neon on 10/20/2024 in #djs-questions
Do not know how to serialize a BigInt at JSON.stringify
but no errors :waitWhat:
22 replies
DIAdiscord.js - Imagine an app
•Created by neon on 10/20/2024 in #djs-questions
Do not know how to serialize a BigInt at JSON.stringify
they're not registering now tho lmao
22 replies
DIAdiscord.js - Imagine an app
•Created by neon on 10/20/2024 in #djs-questions
Do not know how to serialize a BigInt at JSON.stringify
then rest.put the Map
22 replies
DIAdiscord.js - Imagine an app
•Created by neon on 10/20/2024 in #djs-questions
Do not know how to serialize a BigInt at JSON.stringify
Welp i figured it out, i had to push my mapped commands to a new map instead of an array
22 replies
DIAdiscord.js - Imagine an app
•Created by neon on 10/20/2024 in #djs-questions
Do not know how to serialize a BigInt at JSON.stringify
its showing fine when logging it too
22 replies
DIAdiscord.js - Imagine an app
•Created by neon on 10/20/2024 in #djs-questions
Do not know how to serialize a BigInt at JSON.stringify
oh well thanks anyways ill figure smth out
22 replies
DIAdiscord.js - Imagine an app
•Created by neon on 10/20/2024 in #djs-questions
Do not know how to serialize a BigInt at JSON.stringify
this
is my client btw22 replies
DIAdiscord.js - Imagine an app
•Created by neon on 10/20/2024 in #djs-questions
Do not know how to serialize a BigInt at JSON.stringify
usually i just map my commands the same way as i put in the code i sent and set them using
await this.application.commands.set(commandsToRegister);
and that works but for some reason it doesnt with rest22 replies
DIAdiscord.js - Imagine an app
•Created by neon on 10/20/2024 in #djs-questions
Do not know how to serialize a BigInt at JSON.stringify
i usually dont use REST.put but i dont wanna keep deleting and resetting my app commands
22 replies
DIAdiscord.js - Imagine an app
•Created by neon on 10/20/2024 in #djs-questions
Do not know how to serialize a BigInt at JSON.stringify
Botclient js https://sourceb.in/HStj89SSX6
22 replies
DIAdiscord.js - Imagine an app
•Created by neon on 10/20/2024 in #djs-questions
Do not know how to serialize a BigInt at JSON.stringify
22 replies
DIAdiscord.js - Imagine an app
•Created by neon on 10/20/2024 in #djs-questions
Do not know how to serialize a BigInt at JSON.stringify
node ver v20.17.0
npm list
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]
22 replies