cannot find the text input value

SourceBin
fkajhfvwa
Instantly share your code with the world.
2 Replies
d.js toolkit
d.js toolkit7mo 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!
.justin
.justinOP7mo ago
TypeError [ModalSubmitInteractionFieldNotFound]: Required field with custom id "dis" not found.
at ModalSubmitFields.getField (/Users/dauletorynbai/Desktop/SlashCommand_Package.zip/node_modules/discord.js/src/structures/ModalSubmitFields.js:36:23)
at ModalSubmitFields.getTextInputValue (/Users/dauletorynbai/Desktop/SlashCommand_Package.zip/node_modules/discord.js/src/structures/ModalSubmitFields.js:51:17)
at Object.execute (/Users/dauletorynbai/Desktop/SlashCommand_Package.zip/src/events/ticketInteraction.js:95:49)
at Client.<anonymous> (/Users/dauletorynbai/Desktop/SlashCommand_Package.zip/src/functions/handleEvents.js:8:58)
at Client.emit (node:events:530:35)
at InteractionCreateAction.handle (/Users/dauletorynbai/Desktop/SlashCommand_Package.zip/node_modules/discord.js/src/client/actions/InteractionCreate.js:97:12)
at module.exports [as INTERACTION_CREATE] (/Users/dauletorynbai/Desktop/SlashCommand_Package.zip/node_modules/discord.js/src/client/websocket/handlers/INTERACTION_CREATE.js:4:36)
at WebSocketManager.handlePacket (/Users/dauletorynbai/Desktop/SlashCommand_Package.zip/node_modules/discord.js/src/client/websocket/WebSocketManager.js:355:31)
at WebSocketManager.<anonymous> (/Users/dauletorynbai/Desktop/SlashCommand_Package.zip/node_modules/discord.js/src/client/websocket/WebSocketManager.js:239:12)
at WebSocketManager.emit (/Users/dauletorynbai/Desktop/SlashCommand_Package.zip/node_modules/@vladfrangu/async_event_emitter/dist/index.cjs:282:31)
TypeError [ModalSubmitInteractionFieldNotFound]: Required field with custom id "dis" not found.
at ModalSubmitFields.getField (/Users/dauletorynbai/Desktop/SlashCommand_Package.zip/node_modules/discord.js/src/structures/ModalSubmitFields.js:36:23)
at ModalSubmitFields.getTextInputValue (/Users/dauletorynbai/Desktop/SlashCommand_Package.zip/node_modules/discord.js/src/structures/ModalSubmitFields.js:51:17)
at Object.execute (/Users/dauletorynbai/Desktop/SlashCommand_Package.zip/src/events/ticketInteraction.js:95:49)
at Client.<anonymous> (/Users/dauletorynbai/Desktop/SlashCommand_Package.zip/src/functions/handleEvents.js:8:58)
at Client.emit (node:events:530:35)
at InteractionCreateAction.handle (/Users/dauletorynbai/Desktop/SlashCommand_Package.zip/node_modules/discord.js/src/client/actions/InteractionCreate.js:97:12)
at module.exports [as INTERACTION_CREATE] (/Users/dauletorynbai/Desktop/SlashCommand_Package.zip/node_modules/discord.js/src/client/websocket/handlers/INTERACTION_CREATE.js:4:36)
at WebSocketManager.handlePacket (/Users/dauletorynbai/Desktop/SlashCommand_Package.zip/node_modules/discord.js/src/client/websocket/WebSocketManager.js:355:31)
at WebSocketManager.<anonymous> (/Users/dauletorynbai/Desktop/SlashCommand_Package.zip/node_modules/discord.js/src/client/websocket/WebSocketManager.js:239:12)
at WebSocketManager.emit (/Users/dauletorynbai/Desktop/SlashCommand_Package.zip/node_modules/@vladfrangu/async_event_emitter/dist/index.cjs:282:31)
yeah i did so
Want results from more Discord servers?
Add your server