bromush
bromush
DIAdiscord.js - Imagine an app
Created by bromush on 6/25/2023 in #djs-questions
interactionCreate events not working
https://srcb.in/kRXh4rWrEw
TypeError: Do not know how to serialize a BigInt
at stringify (<anonymous>)
at Client.emit (node:events:525:35)
at Client.emit (node:domain:489:12)
at InteractionCreateAction.handle (/home/runner/nigerian-prince-1234/node_modules/discord.js/src/client/actions/InteractionCreate.js:97:12)
at module.exports [as INTERACTION_CREATE] (/home/runner/nigerian-prince-1234/node_modules/discord.js/src/client/websocket/handlers/INTERACTION_CREATE.js:4:36)
at WebSocketManager.handlePacket (/home/runner/nigerian-prince-1234/node_modules/discord.js/src/client/websocket/WebSocketManager.js:354:31)
at WebSocketManager.<anonymous> (/home/runner/nigerian-prince-1234/node_modules/discord.js/src/client/websocket/WebSocketManager.js:238:12)
at WebSocketManager.emit (/home/runner/nigerian-prince-1234/node_modules/@vladfrangu/async_event_emitter/dist/index.js:282:31)
at WebSocketShard.<anonymous> (/home/runner/nigerian-prince-1234/node_modules/@discordjs/ws/dist/index.js:1103:51)
TypeError: Do not know how to serialize a BigInt
at stringify (<anonymous>)
at Client.emit (node:events:525:35)
at Client.emit (node:domain:489:12)
at InteractionCreateAction.handle (/home/runner/nigerian-prince-1234/node_modules/discord.js/src/client/actions/InteractionCreate.js:97:12)
at module.exports [as INTERACTION_CREATE] (/home/runner/nigerian-prince-1234/node_modules/discord.js/src/client/websocket/handlers/INTERACTION_CREATE.js:4:36)
at WebSocketManager.handlePacket (/home/runner/nigerian-prince-1234/node_modules/discord.js/src/client/websocket/WebSocketManager.js:354:31)
at WebSocketManager.<anonymous> (/home/runner/nigerian-prince-1234/node_modules/discord.js/src/client/websocket/WebSocketManager.js:238:12)
at WebSocketManager.emit (/home/runner/nigerian-prince-1234/node_modules/@vladfrangu/async_event_emitter/dist/index.js:282:31)
at WebSocketShard.<anonymous> (/home/runner/nigerian-prince-1234/node_modules/@discordjs/ws/dist/index.js:1103:51)
148 replies
DIAdiscord.js - Imagine an app
Created by bromush on 8/25/2022 in #djs-questions
How do I invite a bot with only applications.commands scope?
How do I invite a bot with only applications.commands scope?
6 replies