Should I work or not?
Posted by LEO_Asking@reddit | learnprogramming | View on Reddit | 5 comments
I am making a bot which comes into action when anyone on Reddit mentions its username and it replies to their whys/question.so should I continue working on it.
Familiar_Gazelle_467@reddit
Good project, you'll have to figure out how to serve it and keep it running
LEO_Asking@reddit (OP)
Thanks! That is definitely the next big hurdle. Getting it working locally was the easy part, but figuring out a reliable, low-cost way to keep the Python script awake 24/7 is our current focus. Do you have any favorite hosting platforms you'd recommend for a lightweight Reddit bot?
Familiar_Gazelle_467@reddit
Buy a raspberry pi or something alike and host it locally like a true owner
MemeLord-Jenkins@reddit
would that include scraping the reddit? What's your process on this?
LEO_Asking@reddit (OP)
No, it actually doesn't involve scraping Reddit at all.I use Reddit's official developer API (specifically a Python tool called PRAW). Instead of scanning or scraping the whole website, the bot simply connects to its own account inbox. It waits for Reddit's API to notify it whenever someone tags its username (u/username), and then it automatically fires back a reply to that specific comment