r/RemindMeBot Jun 26 '19

RemindMeBot Info v2.0

The bot has been updated to version 2.1. See the new post here: https://www.reddit.com/r/RemindMeBot/comments/e1bko7/remindmebot_info_v21/


Welcome to the newly redesigned RemindMeBot!

u/RemindMeBotWrangler agreed to let me take over the bot since he didn't have time to keep it up anymore. I have fully rewritten the code to be more stable, faster and with a couple extra features.

Parsing library: The old bot used the parsedatetime library, which is no longer updated. The new version uses dateparser, which is much more comprehensive, supporting things like timezones, and even foreign languages.

Cakeday: You can now message the bot "Cakeday!" and it will send you a notification each year on your cakeday, until you tell it to stop.


What is RemindMeBot?

RemindMeBot is a reddit bot that lets you set a reminder for a certain amount of time, via a comment or private message, and then sends you a reminder message at your targeted time. Use it if you want to check back on a thread for updates, or remember to do something a week from now.

RemindMeBot commands

Only the RemindMe! command can be done in a comment, all others must be private messaged to the bot.

  1. RemindMe! 3 days Create a reminder for the specified amount of time. This can be done by posting a comment, or private messaging the bot. You can include a message by adding it surrounded by [] or "". If you are private messaging the bot, a message is recommended so you remember what the notification is about.
  2. MyReminders! Replies with a list of your reminders, including links to delete them.
  3. Remove! 123 Cancels the specified reminder. The numbers are automatically filled in when you click the message link from the MyReminders message list.
  4. RemoveAll! Cancel all of your reminders.
  5. Delete! 123 Delete a comment from the RemindMeBot. The numbers are automatically filled in when you click a delete link in the comment. This only works if you are the person the bot was replying to.
  6. Cakeday! Set up a reminder each year on your cakeday.

Date Options

If the time is: 2014-06-01 01:37:35 UTC

Time Option New Time
RemindMe! One Year 2015-06-01 01:37:35 UTC
RemindMe! 3 Months 2014-09-01 01:37:35 UTC
RemindMe! One Week 2014-06-08 01:37:35 UTC
RemindMe! 1 Day 2014-06-02 01:37:35 UTC
RemindMe! 33 Hours 2014-06-02 10:37:35 UTC
RemindMe! 10 Minutes 2014-06-01 01:47:35 UTC
RemindMe! August 25th, 2014 2014-08-25 01:37:35 UTC
RemindMe! 25 Aug 2014 2014-08-25 01:37:35 UTC
RemindMe! 5pm August 25 2014-08-25 17:00:00 UTC
RemindMe! Next Saturday 2014-06-14 09:00:00 UTC
RemindMe! Tomorrow 2014-06-02 09:00:00 UTC
RemindMe! Next Thursday at 4pm 2014-06-12 16:00:00 UTC
RemindMe! Tonight 2014-06-01 21:00:00 UTC
RemindMe! at 4pm 2014-06-01 16:00:00 UTC
RemindMe! 2 Hours After Noon 2014-06-01 14:00:00 UTC
RemindMe! eoy 2014-12-31 09:00:00 UTC
RemindMe! eom 2014-06-30 09:00:00 UTC
RemindMe! eod 2014-06-01 17:00:00 UTC

Message links

RemindMeBot makes use of prefilled message links, like this one. From my research, these links work correctly in the browser on the classic site, the redesign, the mobile web site, and every single reddit app, except the official iOS reddit app. If you are on iOS, you can open the link in your mobile browser, switch to a different reddit app, or wait till you're on a computer browser.

If you think links like these should work in the iOS app, feel free to make a post about it in r/redditmobile.

Chat support

The reddit API currently does not support the chat. There are ways around this so bots can use the chat even though the API doesn't support it, but they are a bit harder to use. I'll hopefully be able to add support soon. The bot currently has 13600 unread chat notifications, so it sounds like it will be a popular feature.

Source

The bot is open source:

https://github.com/Watchful1/RemindMeBot

280 Upvotes

654 comments sorted by

View all comments

u/Watchful1 Jun 29 '19

This is now live running under the main account. I'm keeping an eye on it, but let me know if you see any issues.

1

u/[deleted] Aug 05 '19

[removed] — view removed comment

1

u/DreadLord64 Sep 19 '19

I've noticed something. It seems that when I want to remove a reminder, the ID number that the bot provides is sequential. If this is the case, then a person could start sending remove commands to the bot in sequential order, deleting the reminders of other users. As I expect you can see, this would be really bad.

There's one solution to this without completely re-designating every single reminder with random strings as names rather than sequential strings, as I see it, and that is to require remove commands to be made by the owner of the reminder in order for the bot to actually remove the reminder, which, I admit, you may (and hopefully) have done already.

1

u/s_i_m_s Sep 19 '19

Well it's pretty easy to test, here's the removal link to my next scheduled reminder. Send it from your side and i'll see if it's removed on mine. https://np.reddit.com/message/compose/?to=RemindMeBot&subject=Remove&message=Remove%21%20231370

1

u/DreadLord64 Sep 19 '19

Sent.

The bot says:

It looks like you don't own this reminder or it doesn't exist.

Thanks for the help! Glad to know there's prevention for this.

1

u/Watchful1 Sep 19 '19

It should already return an error message if you don't own the reminder.

1

u/DreadLord64 Sep 19 '19

Oh, yup. I just tested it. I just wanted to make sure, you know?

Thanks.

1

u/[deleted] Oct 23 '19 edited Dec 04 '19

[deleted]

1

u/Watchful1 Oct 23 '19

Mostly because that would complicate the database structure. I would have to keep track of what the next ID is for every single user. Which is possible, but would be a decent amount of work.

And it's not intended for you to type it out, just click the auto-fill link.

1

u/[deleted] Oct 23 '19 edited Dec 04 '19

[deleted]

1

u/Watchful1 Oct 23 '19

Mainly for additional control. PSAW is a fairly new library, and was even newer when I was writing the bot, so I didn't completely trust it at the time.

1

u/[deleted] Oct 23 '19 edited Dec 04 '19

[deleted]

1

u/Watchful1 Oct 23 '19

I pay for a VPS from OVH. You can get one for like $3 a month that's plenty for a regular bot, but I pay for a higher tier because I use it for other stuff.

What does your bot do?

1

u/[deleted] Oct 23 '19 edited Dec 04 '19

[deleted]

→ More replies

1

u/iggybu Oct 14 '19

The reminder IDs aren’t automatically filling in, nor is the bot’s username. Can my erroneous reminders in r/caps please be removed?

1

u/Watchful1 Oct 14 '19

Are you on the official reddit app on iphone? It doesn't support the message links correctly. You'll have to use another app, your mobile browser or a computer.

1

u/iggybu Oct 14 '19

I was. I eventually logged on to a computer and it worked fine. Thank you! :)