Open gurchik opened 5 years ago
Came here to suggest much the same but you've already hit the nail on the head @dere!
Absolutely agree, separating subreddit/flair/username details out to be tweaked by end-users and generalising it for use across other subreddits would be fantastic!
@dere, regarding 2.ii - what ideas do you have for this? I've come up with a few to improve the bot re-doing the same work and reducing hits to Reddit, but they would require the bot to be using a database for state and logging of its own actions (much like you've suggested for another point). I'm undecided at the moment whether it's best to go with the local db file approach (short term perhaps?), or whether to have something hosted that multiple bots can share state with (I think I may just be getting overexcited here and this probably wouldn't ever be a bridge this project needs to cross).
@EmmaLouS regarding 2.ii, there are several things I've noticed.
First, the old school team is much smaller than the rs3 team, and thus do not respond to as many threads on Reddit. They usually only respond to a post when it gets to the front page, or the second page. The current policy to check all the comments in the top 100 posts on the subreddit (at 20 posts per page, that's five pages) is too much. But on the main runescape subreddit, they respond to many more posts and perhaps 100 is an appropriate number. This should be a configurable option on a per-subreddit basis.
Secondly, the bot's main purpose should be to reveal a jmod comment that would otherwise be hidden. In other words, the bot should only be posting a comment when a jmod comment is "hard to notice." The exact criteria for what is "hard to notice" should be a configurable option on a per-subreddit basis. I do not have a clear idea on what this criteria should be for either of the two subreddits, but some ideas of when the bot should not create a comment are when:
@dere @EmmaLouS
Hey first of, I want to apologize for the delay in communication. I recently graduated and my previous notifications were sent to my now defunct college email.
I like your idea of converting the script into a more general application, as it is something that has been asked for before. I believe the Apex subreddit used some derivative of the script in order to get their dev's replies catalogued. It definitely wouldn't be too hard to implement, especially with the idea of a config file of sorts to determine the targeted subreddit, flair and etc.
I am also interested in any ideas you have to reduce the unnecessary strain the bot causes.
As for the topic of a local database, I can see the benefit of it but I think you misunderstand the point of the archive subreddit. It was just mostly made as a place to store all the JMOD's comments in one central location. From what I can remember, the bot doesn't currently use that subreddit to track what posts it has touches (it does refer to it to update the post on the archive subreddit once it finds the match again on /r/2007scape and /r/runescape).
Sorry again the delay. Next time I'll be quicker to reply as my notifications are reconfigured to send back to my main email. Thank you both for your suggestions and interest in the bot!
Hello, I have a few suggestions. Rather than create an Issue for each one I've decided to lump them all together in this one.
I'm writing these suggestions because I think the bot is cool and I'd like to help in any way I can. I can even implement some of these suggestions in code and submit a pull request, but I wanted to run them by you first in case so we can discuss them first, and to give you a chance to write the code yourself if you'd prefer.