u/RevAlphabetOrder_bot was a short personal project for a Reddit bot that reads comments and checks to see if the words are in reverse alphabetical order. Inspired by u/alphabet_order_bot, the main purpose was to play around and see if I could somewhat replicate their bot. The preprocess work is short, filtering only punctuation and is therefore very liable to errors. For this bot, I used Python to process data, json files to store key information, and the Reddit API to get and post comments. It calls a random pool of 20 subreddits and searches the top 10 submissions in each of them for comments. It maintains a dynamic blacklist to prevent entry attempts into blacklisted subreddits. Finally, it comments its stats below the comments that match its purpose. Lastly, I automated the script using python anywhere so that it will run once a day.
Code Written during: December 2021
The code and more details is public on my Github. Click here to learn more!