Posts
Wiki

All of our wiki pages are user editable!

Please feel free to add content.


Ban Macro Module

Ban macro is simply a mod macro used for banning. Like removal reasons and mod macros, it sits in your subreddit's wiki and is shared with other moderators. The only way to use a ban macro is to click the mod button next to a user's username. Like removal reasons and mod macros, they support tokens. That means, that you can use placeholders like {title} in them. Scroll down to learn more about those.

Enabling Mod Macros

Start by hovering over the toolbox context menu on the page and click the /r/subreddit config item. This menu can be found on the left-hand lower side of the page in the form of a blue block with a right pointing arrow on it.

context menu

Creating a ban macro

Click on "ban macro" to begin adding your macro.

Adding and editing

  1. Type a ban note in the top box

  2. Type the ban message in the bottom box

  3. Click on "Save ban macro"

You now have a working ban macro!

To delete a ban macro:

  1. Remove all text from both boxes

  2. Click on "Save ban macro"

Tokens

You can include tokens in ban macros. They will be replaced with the content they represent.

TokenReplacementExample
{subreddit}The subreddit to which the post was submitted.yoursubredditname (note the lack of /r/ or r/)
{author}The author of the post.testingaccount2
{kind}The type of post, either 'submission' or 'comment'.submission
{mod}The name of the mod removing the post.psdtwk
{title}The title of the submission. Returns null when banning for comment.Fun Turtle Facts for Kids
{url}URL/permalink to the post that caused the ban.http://www.reddit.com/r/yoursubredditname/comments/261pjc/fun_turtle_facts_for_kids/
{domain}The domain of the submission. Returns null when removing a comment.sciencekids.co.nz
{link}The destination link of the submission. Returns "undefined" when banning for a comment.http://www.sciencekids.co.nz/sciencefacts/animals/turtle.html
{body}The body of a self.text or comment. Returns null when removing a link submission

Applying a ban macro

To apply a ban macro, click on the mod button next to a user's username.

mod button

Clicking this button will make the following popup appear:

ban macro popup

You should now see the boxes automatically filled with what you wrote in the settings.