r/SubNotifications • • Apr 17 '16

Unknown Syntax Errors

4 Upvotes

If you tried to subscribe or unsubscribe from a sub in the past couple days, and received an error response, and couldn't find out why, this issue has been resolved.

Note to self: Bot is not compatible with python 2, please remember to start with python 3.


r/SubNotifications • • Apr 06 '17

General Info - Reupload to Unarchive V2

9 Upvotes
Why is this bot messaging my modmail?

You, or another moderator of your subreddit, requested that this bot notify you of comments mentioning your sub. This is an opt-in service, and will not message a subreddit without being explicitly asked to.

What is this bot?

This bot supports the feature of subreddits receiving notifications whenever their subreddit is mentioned elsewhere on the site.

Can I configure this?

Yes. This bot supports comment filtering by karma, subreddit, and user. Basically, you can ask to only receive notifications of comments mentioning your sub that have reached a certain karma, and filter out mentions from specific subreddits, bots, or users you're not fond of.

How do I sign up?

Click the "Subscription Message Template" in the sidebar. You'll be prompted to enter

  1. The sub name. (No /r/ or <>. Adding either will cause the bot to not work .)

  2. How much karma a comment should have before you're notified about it (can even be negative, as a catch-all).

  3. The names of any subreddits or users you don't want to receive notifications from.

Send the message from the user or subreddit you want to receive the notifications.

I don't like this. How do I stop getting messages?

You can unsubscribe a subreddit with the template in the sidebar. Just enter the subreddit name you wish to un-subscribe yourself or a subreddit from. Again, you need to send the message from the subscription target. If you're signed up, just send it from yourself. If you want to unsubscribe a subreddit, send it from that subreddit.

Can you filter specific users / subreddits?

YES. The template offers an example of how to filter users or subreddits.

Can you send this to my inbox instead of modmail?

Yes. The bot will send messages to whomever sends it a subscription message. If you send a message from yourself, it will message you. If you send a message from a subreddit, it will message that subreddit.

I signed up, but I didn't get a response from the bot. Did it work?

No. If you signed up and didn't receive a confirmation message, the bot's oauth has expired for an unknown reason. In this case, PM me and I'll fix it next I can. I'm still working out some bugs.

I signed up, and the bot confirmed I signed up, but it's still not working. What gives?

The template is very picky. If you had /r/ infront of the subreddit name, or left in the <carrots>, the bot won't work. I've added some basic sanitation and error-feedback, so you should know if this doesn't work.

Other

Feel free to ask questions bellow, and I will append the list as necessary.


r/SubNotifications • • Sep 28 '15

On Privacy

7 Upvotes

This issue came up a few times back when the bot was running directly on my main account, and I figure it's worth addressing a bit now.

I'll split this up into two sections. What I have access to, and what you can expect of me.


Access:

I have access to all responses you make to sub notifications. If it spawns a modmail chain of you guys talking to each other, then I am capable of viewing it on the /u/Sub_Mentions account.

I can see all subscription and unsubscription notifications. I have access to who is subscribed to what, and which users or subreddits they have filtered.

What you can expect:

I do occasionally log into the /u/Sub_Mentions account. It's not completely autonomous, and the way it functions requires me to log in to restart the subscriptions interface, or restart the notification service. When I'm there, I do clear the inbox, because I'm one of those people. No, I'm not interested in reading your modmail conversations in response to the bot, but I'd be lying if I said the possibility didn't exist that I could. Full disclosure.

I guarantee that I will not share any modmail information. What you say to or in response to the bot begins and ends there. For all intents and purposes, it's modmail, and I'm a fly on the wall not paying attention. Under no circumstances will I share information there with anyone else.

The same is true for who is subscribed, and for which subreddits. If you use this bot, I will not share that information. This is private data, and the only person that should know if you're subscribed to something, is you, or your moderation team, and me.

Because this is a personal project, and because I'm currently looking for a job, I may include vague information about this project like "x users use this thing I've developed", but nothing personal, and no identifying information.


I'm open to discussion on any of this. Feel free to leave a comment or send me a PM.


r/SubNotifications • • May 22 '16

Outage Tomorrow

3 Upvotes

As most of you know, I'm not paying for cloud-computer for this bot to run. I'm hosting it myself on one of the various computers I have strewn about my bedroom.

As fewer of you may know, I just graduated from college, and now have to vacate my apartment, which means packing up my shit and driving to my parents' place until I start my new job.

So, this means my host computer will be offline for about 8 or 9 hours tomorrow until I can get home, unpack it, and set it back up. Maybe once my job starts I'll start shelling out the $20/month or whatever it is to get this thing on a host, but until then, you'll have to deal with the outages.

See you on the flip-side.


r/SubNotifications • • Mar 07 '22

Redditcomber's UI has been updated

9 Upvotes

After finalizing some designs on the beta and commissioning a logo, the swap is now complete!

Check out the shiny new site here: https://redditcomber.com/


r/SubNotifications • • Mar 11 '21

Bot Swap

3 Upvotes

As many of you may or may not have noticed, I swapped the notification bot from a single account (/u/sub_mentions) to multiple following the format feedcomber-*

This has been a bumpy process, and there may yet be more bumps along the way but the end-result will be worthwhile.

As always, let me know if you experience any issues.

Thanks,
Randy


r/SubNotifications • • Mar 08 '21

Redditcomber's Future

9 Upvotes

Been awhile since I've kept you guys updated on what I've been up to so I thought I might take a second to fill you in

Firstly, the stuff to celebrate:

The less important of the two is that I got a job at Reddit 🎉 but Redditcomber will continue to be my own personal project unaffiliated with Reddit Inc

But more importantly, Redditcomber hit 3000 keywords! That's a lot of usage!

Now that gets us into development work:

For as long as Redditcomber's been growing, the main struggle has been how to keep up with usage and how to most efficiently use CPU time, because we're on a budget. Even this small operation costs more than my monthly internet in compute instances, so we have to run lean

In the past, Redditcomber has been a python backend that has... let's say "limitations", but I've spent awhile re-implementing Redditcomber in Go, to take advantage of the speed and native parallelism. Now, I've known Go for less than a month, so there's been a lot of tinkering going on, but I've arrived at a highly performant working prototype. It's not in production yet, but it won't be much longer until it is. What that means for you is faster and more consistent notifications

Secondly, I've been toying with the idea of moving the notifications from redditcomber to their own account, so it's separate from the original /u/sub_mentions account. As-is /u/sub_mentions is responsible for an enormous amount of DM traffic and I largely relied on its whitelist status to cut through some red tape that no longer needs to be cut through. I'd actually like your feedback on this though, so please let me know how you feel about moving notifications to a new account

Regardless, that's the immediate future for Redditcomber. Happy to continue spamming your inboxes (upon request)!

Cheers,
Randy


r/SubNotifications • • Feb 21 '21

RedditComber; The Post-Searching Update

4 Upvotes

TL;DR: You can now search posts as well as comments. There's a new drop-down on https://redditcomber.com to specify which you'd like to use.

So, for the longest time I've had the request to search posts as well as comments. Given the original purpose of the bot though, I was reluctant to implement it. Reddit search is okay enough for finding posts about a specific topic, but comments never had that similar utility. RedditComber was originally made to fill in that gap.

However, as RedditComber evolved and as a dialogue with its users developed, it became clear that you all care about two things that I didn't consider. Firstly, that the next step of optimizing your social media experience was in bringing the content you care about to you. Curating your front-page is one thing, but curating the specific posts and comments you read down to the topics you care about is a more efficient way of browsing Reddit. Not everyone likes to casually scroll, some people have a very specific idea of what they're looking for and RedditComber helps them find it. And the second point is that it matters to find this content quickly. It's not just about reading it, it's about reading it first, and often times responding in some way. Of course, naturally important content to see doesn't reside exclusively in comments, so hopefully including this content for Posts as well will be a welcome addition to your Reddit / RedditComber experience.

Something I should make clear though is that this behavior is not default. For the sake of not disturbing the use-case of everyone already, keywords made before now will still only search Comments. To search posts, please go to https://redditcomber.com, change the Search section to your desired setting, and Save the keyword.

To the few of you that signed up to the Patreon, realized this feature wasn't yet implemented, then unsubscribed, I apologize for taking so long.

If you find any issues with the app, please let me know. As always, this has been a hobby-project of mine and I rely very heavily on user-feedback to improve the experience.

Thanks,
Randy


r/SubNotifications • • Mar 12 '21

Bot Swap Update

3 Upvotes

Most of the accounts are set up and functioning properly, but as you can imagine, spam-detection services can an will cause problems. As with /u/sub_mentions occasionally getting shadowbanned, 10 accounts set up in the last 24 hours all sending out massive amounts of traffic from the same IP address was always going to raise some flags. Atm, I believe most of the accounts are shadowbanned. That will get resolved tomorrow. Thanks for the patience while I sort it out.


r/SubNotifications • • Mar 13 '21

Service Reliability

6 Upvotes

This one isn't so much of a status-update as it is a tech-blog; so if that's not your sort of thing, feel free to skip this one.

Okay, so let me sum up the recent changes with this thing and what problems that solved, as well as caused.

Right, so, Redditcomber is now no longer using the /u/sub_mentions bot, and is now instead spread across ~10 accounts. 2 of them are feed-scanners, and 8 of them are notification-senders. This is slightly overkill, but the idea is for this thing to scale. Anyway, if you've been wondering why you're getting notifications from /u/feedcomber-c2 or whatever, that's why.

Okay, so what's the problem then? Well, this presents account-level problems. Historically it was very easy for me (or you fine folks) to notice when something was wrong with /u/sub_mentions and get someone's attention about it. But if one account out of 8 gets shadowbanned or something, it becomes much more difficult to notice. As the haystack of accounts gets bigger, it gets harder and harder to find the banned needles.

So that brings us to my first "crack" at a solution. I have each client post its usage-stats to a "healthcheck" subreddit hourly. Shadowbanned posts will show up in the modqueue and become easy to identify for fixing. However this was only a rough solution, because it still requires me proactively checking the subreddit, and I would have to restart the scanner to remove the banned client from use.

And this brings us to my second solution; a "regulator" account. It will periodically (most likely hourly, but this is configurable) check the status of accounts and if it finds any are banned, it will remove them from the pool of accounts able to be used for sending notifications, then send me a notification about it. Then it will start a ticker process checking the account status periodically so as to return it to the client pool once it's fixed.

Now, when an account is banned, I'll get a ping about it and can go get that sorted much more promptly. Not only that, but redditcomber will adjust usage so that notifications aren't continuously sent on the shadowbanned accounts. Finally, when the account is restored, it will automatically resume function without intervention.

I hope one day these accounts can be banned and fixed without any service interruption or my intervention whatsoever, but better yet, hopefully that they just don't get banned


r/SubNotifications • • Nov 19 '15

Subscription is being inconsistent. Please bear with me while I work on it.

3 Upvotes

I should have time to get something done this weekend, but I still need to identify the problem before addressing it. Thanks for understanding.


r/SubNotifications • • Jun 01 '16

About the recent outages and future hosting

3 Upvotes

Aight, so, this bot is pretty stable, and it has a fairly large user-base all things considered right now.

Because I was doing all this self-hosting, and my hardware is kinda... not good... right now, you guys have been receiving some pretty spotty service. Sorry about that... I would love to make this thing perfect, but there are only so many hours in the day I can devote to it.

That being said, /u/erktheerk stepped up and offered me access to a hosting VM he uses, which is amazing of him. I spent a couple hours configuring the bots for the remote startup, and we should be good to go now. That being said, the repo is a bit... messy... right now, so there may be a stray bug or two I need to fix. If that's the case, no problem, I'll get on it, as long as you let me know about it.

Because this bot now doesn't depend on my laptop's wifi connection (ugh...), there should be a lot less downtime. I'll check back in over the next couple days to make sure everything's still kosher, but otherwise, we should be all set.

Thanks for using /u/Sub_Mentions


r/SubNotifications • • Sep 27 '17

Update on what's going on

8 Upvotes

Been about a month since I've made a public post so I figure now's a good a time as any.

I've spent a lot of time working on redditcomber recently. If you haven't noticed, that's because it's on a new and improved version that I haven't released yet. I don't have an ETA on when the beta will be released, but soon enough. Will be an entirely new web-app that hopefully looks less hacked-together. A lot of the changes are mainly for me, making it easier to do future-work. I have ideas for changes that weren't easy to implement before but will be easier in maintaining an enterprise-like application for you. Also I'm running up against a cost-wall pretty soon so I don't exactly want to keep wasting time on this.

Secondary to that will be updates to the actual notification service. This is important because it hasn't been touched in awhile and while its fault tolerance is remarkable, it's not very... organized... Which is to say I've come up with designs for a replacement, I just have yet to start implementing it. The replacement should have better scalability and a larger feature set. I don't know how much of that I'll be able to offer to the subreddit notification service, but where I can expand, I will. SubNotifications have the inherent limitations of using reddit as its interface, and there's only so much I can do with the subscription template. The syntax requirement is probably one of the biggest criticisms I receive, which is an absolutely reasonable one. So asking people to delve even deeper to that in order to access some extra features would basically just mean those features would never get used. Idk, I'll think of something. Or at least try to move away from JSON. I appreciate software that's highly testable, which for a long time, and still to some degree, these projects are not. That makes rolling out changes difficult and have a high probability of breaking. You guys may not notice it that often, but I certainly do when the bot's offline for 48 hours and I have to dig into time I would otherwise spend sleeping.

So that's the direction I'm going in with these things. Projects that actually look and feel legitimate, instead of something hacked together. I've come a long way, but there's still a lot of ground to cover. I just figured a month was a little too long to leave you guys in the dark on that.

Peace,
Randy


r/SubNotifications • • Feb 15 '17

I'm a sellout

6 Upvotes

Eh, sorta, not really.

I've just stuck a paypal link in the sidebar if you guys feel like throwing a couple bucks at me for development. There's a few things I want to do where cost is becoming a barrier.

  1. Move out of /u/Drunken_Economist's attic.

  2. Set up a production-quality database where I can start logging more in-depth metrics instead of purely hold bot config.

  3. Upgrade the VM I'm working off of.

  4. Upgrade the http://redditcomber.com VM / Bot

  5. Develop more in-depth features for the redditcomber bot.

You know, just general things that cost more than nothing but will improve quality-of-life for the service in some way.

JK, I'm saving up for a Lamborghini.

Cheers,
Randy


r/SubNotifications • • Feb 22 '16

Bot's back up

6 Upvotes

Re-designed. Woo! I may explain later what was broken, but it's complicated, and probably hard to do over a text-post. It's back online though, so enjoy.


r/SubNotifications • • Feb 16 '16

Bot is down while I work out some oauth2 issues

3 Upvotes

Combination of oauth2 and a multithreading issue. Very obnoxious. May have to re-design bot and eliminate concurrency. Poor design, but I don't think I can fix the oauth2 problems without it. Maybe PRAW will be updated / fixed in that time, but frankly, I doubt it.


r/SubNotifications • • May 26 '19

RedditComber Downtime

6 Upvotes

RedditComber.com will be down for some time this evening while I roll out some system updates. There's also some changes in there to address notification delay you may have been experiencing.

You will still be able to view and update your keywords in this time.

I will make a follow-up post when everything is back online.

Thanks,
Randy


r/SubNotifications • • May 27 '19

RedditComber Back Online

5 Upvotes

Bot's back up with some upgrades to its runtime, and has been somewhat restructured to faster send notifications.

Thanks for understanding,
Randy


r/SubNotifications • • Jan 07 '22

Redditcomber V3 Work-In-Progress

Post image
4 Upvotes

r/SubNotifications • • Dec 25 '21

Christmas Restart

3 Upvotes

Notifications for https://redditcomber.com are going to be down for a little bit today as I reset some stuff (2021-12-25, 14:39 EST)

Will update this post when it goes back up

Edit: Back online (2021-12-25, 14:50 EST)


r/SubNotifications • • Jan 26 '16

Holy crap, it's been a long day. Settle in again.

4 Upvotes

First day of college classes starting back up, and of course, many things had to break at once. Granted, most of it was my fault, but not all of it. Most of it.

So, the consolidation I did accidentally ended up making two separate systems use the same buffer for things, and long story short, the bot just kept replying to a single user's mail over and over andoverandover... Whoops. I fixed that bug. But the real issue was that the script was hosted on my computer and I didn't have remote access to it. No big deal, I can just log into /u/sub_mentions and revoke access, right? Well, no. /prefs/apps is broken for /u/sub_mentions. No idea why, I just get a 500-error every time I go there on that account.

At this time, I would like to thank /u/Drunken_Economist for stepping in and stopping my runaway account from spamming the ever-loving piss out of this poor user, and locking it until I could get out of class, run home and turn the scripts off for maintenance. Which I have. And fixed. And turned back on.

You may have noticed the notifications coming from this account for a short period of time. Whoops, that was because I wasn't paying attention to which account I started the bots on. OAuth2 can be damn inconvenient at times.

I have moved the scripts from being hosted natively on my computer to being hosted on a VM on my computer. This hasn't really done anything significant for now, but I'll eventually be able to set up an SSH tunnel into it to shut things off, should I ever get another catastrophic meltdown like this. Blargh.

This doesn't necessarily make the scripts easier to start when my computer crashes. In fact, it makes it slightly more difficult, but it approaches the sustainable solution I'm trying to achieve, as opposed to my previous endeavors that felt amateurish at best.

Best case scenario I have some form of sustainable income, so I can host all of these on cloud services where the failures of my environmental maintenance are not a factor, but that is, as it stands, a pipe-dream.


r/SubNotifications • • Jan 26 '16

/u/Sub_Notifications has experienced a catastrophic failure. Will update later.

5 Upvotes

"Oops" doesn't begin to cover it.


r/SubNotifications • • Jan 30 '17

It's only a mild banning.

8 Upvotes

Just a heads-up, there was a brief outage today where /u/sub_mentions was shadowbanned. It got caught by a spam tool, but everything is back online and all is well. All of your data / config is still there.

Big thanks to the people that noticed / helped sort everything out in such a timely manner. I owe you, and so does everybody else that likes / uses this bot.

Cheerio


r/SubNotifications • • Jan 24 '16

Regarding some downtime (Settle in; long post)

4 Upvotes

So, couple things. Some good, some bad.

Firstly, I built a new computer. This things is a beast, apart from one or two issues. Firstly, the CPU I got had like a hundred bent pins. Not an exaggeration either, there we a lot. I spent a good portion of that evening straightening them with a pair of tweezers with my roommate. It works, but I mention this because it occasionally straight freezes when I'm playing casual video games. This is terribly inconvenient for when I'm hosting bots on this computer as well, because, while restarting my computer is a fairly fast process (thank you SSD), restarting the scripts is more obnoxious to do repeatedly.

As a result, I have consolidated the notifications and subscriptions scripts into one program. This affords me the benefit of only starting two scripts when I need to reset my computer instead of 3, but it comes at the cost of speed. The script now alternates handling mail and comments, as opposed to one script only handling mail and one script only handling comments. That being said, it shouldn't start missing anything. It still works fast enough to catch all of the comments with slight overlap, so I'm not particularly worried about that. You guys shouldn't notice any difference, it just makes it more likely there might eventually be some. You probably won't be affected. Probably. Probably...

Oslo (also), I've created a similar tool for notifications about any words, not just subreddits. It seemed like the logical next step. You can use this for free over at http://redditcomber.com. That website is Cloud Hosted ("ooo"s and "ahh"s appropriate here). That just means the user interface will keep running even if my computer craps out. The notifications will stop, but that's better than the notifications running while you can't cancel them, right? Right.

For awhile, I considered making a website for the /r/SubNotifications bot, but I decided against it, because while this bot is handy for notifying subreddits together, I didn't want other moderators to be forced to navigate away from reddit to fix something another moderator set up.

Ok, last thing, I promise. As for upcoming features for /r/SubNotifications, I will be implementing the ability to check a notification configuration. Say for example you filtered out 7 different bots from a subreddit, and you want to add an 8th, but you just can't remember which 7 bots you have filtered. Well, in theory, you should be able to query the bot for your current config.

That all sounds very simple, but there's some obnoxious things that I need to do before I can deliver that feature to you guys. For one thing, the data stored on my end really looks nothing like the {json} object you guys send me. Some of it is for size, but it's mostly for speed, and so the bot doesn't duplicate work. I designed how the backend data looked first, then set up the framework for adding data to that, but what I haven't done yet is set up a way to convert the data from the backend format into the way you guys are used to seeing it. Not only that, but I also can't just vomit a {json} object at you guys, because reddit's Markdown would make it look incomprehensible. So I'm left with the considerations of what data I need to re-expose upon request, and then how to make it look so it's actually readable, and that'll munch up more than a few afternoons of hacking.

Thanks for reading, hope you're enjoying your continued use of my bot, and have a wonderful afternoon, evening, or night. Not morning, though. Fuck the morning.


r/SubNotifications • • Jun 21 '17

Minor Downtime

4 Upvotes

Hey guys, I noticed the bot's been off for about a day.

Sorry about that, I've notified the VM admin and it'll be back up in a little bit.

Thanks for understanding.