Attn: Bot maintainers: Username mentions for everyone!

https://www.reddit.com/r/redditdev/comments/2rnzkd/attn_bot_maintainers_username_mentions_for/

created by kemitche on 07/01/2015 at 20:45 UTC*

52 upvotes, 13 top-level comments (showing 13)

In case you missed it, the username mentions feature is now available for everyone, not just users with gold subscriptions: http://www.redditblog.com/2015/01/create-your-own-reddit-alien-avatar.html

Bots can and should monitor https://www.reddit.com/message/mentions.json[1] rather than polling/scraping every comment, whenever possible. You can also monitor /api/v1/me and check the `has_mail` attribute to see if you need to look up mentions.json (thanks /u/pkamb for the suggestion!)

1: https://www.reddit.com/message/mentions.json

Comments

Comment by totes_meta_bot at 08/01/2015 at 06:13 UTC

10 upvotes, 0 direct replies

This thread has been linked to from elsewhere on reddit.

1: http://np.reddit.com/r/botsrights/comments/2rpus6/admin_provides_much_needed_assistance_to_bots/

2: http://www.reddit.com/message/compose?to=%2Fr%2Fmeta_bot_mailbag

Comment by sodypop at 07/01/2015 at 21:05 UTC

9 upvotes, 0 direct replies

This is great! I've had a few ideas brewing that could really take advantage of this. Thanks. :)

Comment by pkamb at 07/01/2015 at 21:08 UTC*

3 upvotes, 1 direct replies

Was there a blog post / announcement for this you can link us to?

What do these username mentions look like in the normal reddit web interface?

Do these mentions show up in `has_mail` as well?

Comment by damontoo at 07/01/2015 at 22:45 UTC

3 upvotes, 0 direct replies

This is great. Are there any plans for adding push notifications in the future? Things like this, mail, modmail etc.

Comment by ELFAHBEHT_SOOP at 08/01/2015 at 03:45 UTC

2 upvotes, 0 direct replies

Awesome! This will definitely save on bandwidth!

Comment by HAND_HOOK_CAR_DOOR at 08/01/2015 at 08:18 UTC

2 upvotes, 0 direct replies

This is ducking fantastic!

Someone summon me anywhere on any post! I want to feel it!

Comment by HAND_HOOK_CAR_DOOR at 08/01/2015 at 08:23 UTC

2 upvotes, 0 direct replies

/u/msx

There is your test :)

Comment by AsterJ at 08/01/2015 at 15:54 UTC

2 upvotes, 1 direct replies

Red rover red rover

Won't /u/HAND_HOOK_CAR_DOOR come over?

Comment by go1dfish at 11/01/2015 at 21:03 UTC

2 upvotes, 0 direct replies

I noticed these mentions have a .new attribute.

Is there a way for the bot to mark these as read?

Comment by dakta at 07/01/2015 at 22:11 UTC

2 upvotes, 0 direct replies

Excellent! Thanks for the heads-up!

Comment by V2Blast at 17/01/2015 at 05:02 UTC

1 upvotes, 0 direct replies

I hadn't even considered how useful this feature could be for bots. Cool beans.

Comment by toomuchtodotoday at 23/02/2015 at 18:16 UTC

1 upvotes, 1 direct replies

Could mentions be exposed as part of the api? Perhaps at /user/<username>/mentions endpoint?

Comment by GhostOfWhatsIAName at 18/04/2015 at 13:44 UTC

1 upvotes, 0 direct replies

Kind Sir, what's the limit to username mentions, 3, 5, 7? In some subs people would be glad to call up more than three users at a time.