I am new to coding and especially to discord bots. I need help about a discord bot code that can help me store information. Lets say I want to make a list with some info: i.e: I want the command to be like !addtolist and then give email password and name
!addtolist [email protected] 1234 Lorem
after this, the bot stores the information. When I ask for the list (!list command) I want the bot to show me the list of all emails passwords and names that I have entered. i.e
- List item
!list
- [email protected] 1234 Lorem
- [email protected] 1234 Lorem
- etc
Thank you
fs
package, but this won't work if you are hosting your bot on something like heroku, because heroku does not have persistent file storage. If this is they way you were going about it, you could instead save the data into ta database. If you can decide what kind of way you want this to work, i am happy to help you out with one of these options - Snel23