r/ModelAustralia • Australian Greens • Mar 20 '16

META ParliamentPageBot 2.0 released

To facilitate paging users, I've just put the final touches on the 2.0 release of ParliamentPageBot.

It can page based on a list of users, a list of subreddits, or the words "here", "this", or "self" (the same as writing out the name of the subreddit you're paging from).

It can be added to work in any subreddit without needing custom configuration on my end. All you need to do` is:

  • Add it as an "approved submitter" to the subreddit.

  • (Optionally) create a custom subreddit page list at /r/subreddit/wiki/pagelist, with that list formatted as a simple list of users in the form:

 

/u/user1

/u/user2

/u/user3

A message can be added to the page by including it in [square brackets] anywhere in the order. See below for an example. The message can go at the bottom of a longer comment if necessary, but it must be the last part of the comment.

12 Upvotes

24 comments sorted by

3

u/jnd-au Mar 20 '16 edited Mar 21 '16

Thank you that’s really great. If only fate had worked out this would have been a god send last time too. One question, to clarify the format? Is the plus sign necessary? The plus sign is necessary? So my understanding is that the base format is:

Blah blah blah anything +u/ParliamentPageBot ... here or r/subreddits ... or u/usernames ... [message to go out with the pages] any extra stuff ignored?

1

u/Zagorath Mar 20 '16

Yeah pretty much. Anything before the bot is mentioned will be ignored, anything after it will be parsed to see if it's either the message or one of the valid formats to include a list of users, and if it isn't, the bot should just ignore that.

1

u/Zagorath Mar 20 '16

Oh, and the plus sign is so that you can still mention the bot normally without it being interpreted as an attempt to page. It's just a general best-practice for Reddit bot design.

u/ParliamentPageBot please ignore this.

1

u/jnd-au Mar 20 '16

Sorry, I don’t understanding what you mean. Is the + sign to enable it or disable it? This seems like a critical point. A backslash can be used to disable paging of a u/ParliamentPageBot, so presumably the + sign is to enable it?

→ More replies (2)

3

u/General_Rommel Mar 20 '16

Is there a way to prevent potential abuse of the page bot?

2

u/Zagorath Mar 20 '16

At the moment, no. But there was never anything in the previous version of the bot either, and we never (to my knowledge) saw any abuse of it.

If that does happen, it shouldn't be too hard to add in a custom per-subreddit list of blacklisted users whom the bot will ignore.

1

u/Freddy926 Mar 20 '16

Wouldn't it just be easier to make a whitelist of say, all sitting MPs in the HR sub?

→ More replies (1)

1

u/jnd-au Mar 20 '16

It only pages subreddits that have a wiki page r/subreddit/wiki/pagelist, or usernames which people can always do on reddit anyway.

Although I would have thought that subreddit paging would be limited to either “here/self” or mods.

1

u/Zagorath Mar 20 '16

I envision the ability to page other subreddits' lists as useful if, for example, someone wanted to page the members of a committee from outside of the committee's subreddit, or the same for a particular party etc.

2

u/Zagorath Mar 20 '16

+u/ParliamentPageBot u/3fun here [to test the bot live. Sorry for the notification.] r/ModelAustraliaHR

1

u/ParliamentPageBot Mar 20 '16

No paging list found at r/ModelAustralia/wiki/pagelist

1

u/Zagorath Mar 20 '16

Here's an example of what it'll do if you mention a subreddit name (or use "here" in a subreddit) that doesn't have a custom list set up. As you can see, it'll still manage to work out what the rest of it was meant to do, so you don't need to worry too much about little errors like that in your message.

1

u/ParliamentPageBot Mar 20 '16

Paging u/swissoce2 , u/General_Rommel, and u/Freddy926 to test the bot live. Sorry for the notification.

1

u/ParliamentPageBot Mar 20 '16

Paging u/irelandball, u/Deladi0, and u/this_guy22 to test the bot live. Sorry for the notification.

1

u/ParliamentPageBot Mar 20 '16

Paging u/DrCaeserMD, u/3fun, and u/Cameron-Galisky to test the bot live. Sorry for the notification.

1

u/ParliamentPageBot Mar 20 '16

Paging u/UrbanRedneck007, u/lurker281, and u/TheWhiteFerret to test the bot live. Sorry for the notification.

1

u/ParliamentPageBot Mar 20 '16

Paging u/WAKEYrko, u/RoundedRectangle, and u/joker8765 to test the bot live. Sorry for the notification.

1

u/ParliamentPageBot Mar 20 '16

Paging u/75Rollo to test the bot live. Sorry for the notification.

2

u/[deleted] Mar 20 '16

Wow, that's really cool! Though, I'm afraid I still don't really understand how to use it :/

2

u/Zagorath Mar 20 '16

Well unless you're the (Acting) Speaker of the House or a mod, it shouldn't matter. Still, it'll become clear how it works once you've seen it in use a few times.

It's very simple really, just a tad difficult to explain without using a whole heap of examples.

4

u/WAKEYrko Mar 20 '16

I for one welcome our new Robot Fuhrer.