Storing & retreving input from slash command strings

Is there a way I can store the input from a slash command to use later in another command? I have been following the discord.js bot setup guide and can't seem to find a way to do this. I want users to be able to add their own tasks to a to do list, and then view the to do list with another slash command.
3 Replies
d.js toolkit
d.js toolkit•2y ago
• What's your exact discord.js npm list discord.js and node node -v version? • Post the full error stack trace, not just the top part! • Show your code! • Explain what exactly your issue is. • Not a discord.js issue? Check out #useful-servers.
d.js docs
d.js docs•2y ago
Tag suggestion for @milrose44: Persisting data through restarts requires a database. Check out the resources below to figure out which database fits your use case - PostgreSQL: learn more | tutorial - MariaDB: learn more - MongoDB: learn more | tutorials - SQLite: learn more | tutorial
Milly 🌸
Milly 🌸OP•2y ago
thank you!
Want results from more Discord servers?
Add your server