Rough code for a reddit bot