MongoDB - discord.js - modal
Archived 2 years ago
S
Slowd
Hello guys.
I am a beginner. I've read through all the discord docs but I can't get any further. I have created a modal, which should receive username and password when you send it, which means that after that there is a message " ${username & pass } then you click on the ✅️ sign and then the script goes to another file where the login data should be saved, but I can't get the previous data transferred to the database, I don't know what should happen after clicking ✅️, I want it to be entered into the mongo DB, but how do I get the input of the modal again in the other file. I've already tried it with a map, I need ideas.
