mrlancelot / twitter-bot-generic

twitter-bot-generic
https://twitter.com/Team_Brackets
MIT License
1 stars 0 forks source link

New Replies for by the bot. #1

Open mrlancelot opened 3 years ago

mrlancelot commented 3 years ago

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.

karmanya007 commented 3 years ago

Does the replies currently come from animals.json file??

mrlancelot commented 3 years ago

@karmanya007 Yes its animals.json file

karmanya007 commented 3 years ago

So you want to create another JSON file for different replies or add to this one?

mrlancelot commented 3 years ago

@karmanya007 Yes for now more replies.

karmanya007 commented 3 years ago

Yes for a new JSON file? And what kind of replies are you expecting?

asfo commented 3 years ago

@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.

karmanya007 commented 3 years ago

@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.