anonymizer

Post replies anonymously.

Usage: Send a PM to the bot with a quote that specifies both the topic ID and the post number to reply to.

Example:

[quote="username, post:x, topic:y, full:true"]
Content inside the quote
[/quote]
Content outside the quote

Replace x with the post number and y with the topic ID; the bot will then echo the message in its entirely in the desired topic.

The username and full:true can be omitted as desired.

Note: Bot must have permission to post in the topic specified.

Author: RaceProUK
License: MIT

anonymizer.prepare(plugConfig, config, events, browser)

Prepare Plugin prior to login

Kind: static method of anonymizer

Param Type Description
plugConfig * Plugin specific configuration
config Config Overall Bot Configuration
events externals.events.SockEvents EventEmitter used for the bot
browser Browser Web browser for communicating with discourse

anonymizer.start()

Start the plugin after login

Kind: static method of anonymizer

anonymizer.stop()

Stop the plugin prior to exit or reload

Kind: static method of anonymizer

anonymizer.handler(notification, topic, post)

Handle notifications

Kind: static method of anonymizer

Param Type Description
notification external.notifications.Notification Notification recieved
topic external.topics.Topic Topic trigger post belongs to
post external.posts.CleanedPost Post that triggered notification