Open mrlancelot opened 3 years ago
Does the replies currently come from animals.json file??
@karmanya007 Yes its animals.json file
So you want to create another JSON file for different replies or add to this one?
@karmanya007 Yes for now more replies.
Yes for a new JSON file? And what kind of replies are you expecting?
@mrlancelot maybe, you should create a new issue so the JSON doesn't accept single comments from an animal, and instead a lot of facts. Then open a new one and implement the logic to connect to a DB (could be for example an SQLite so it can be moved) and there store the facts. So this could be a reusable base code for other twitter bot projects.
@mrlancelot Could you be a little more specific in terms of what kind of replies are you expecting so that I can start working on this feature.
For now, the Twitter bot uses the values from a JSON file while replying. Adding a way to give witty replies without the use of a database.