anonymize

Anonymize module. Responsible for allowing anonymous users to "puppet" the bot, making it speak instead of them.

anonymize.description

Description of the module

Kind: static property of anonymize

anonymize.configuration

Configuration properties.

Kind: static property of anonymize
Properties

Name Description
enabled Whether to use anonymizer or not. Defaults to false.

anonymize.name

Name of the module

Kind: static property of anonymize

anonymize.priority

Priority of the module

Kind: static property of anonymize

anonymize.version

Module version

Kind: static property of anonymize

anonymize.begin(browser, config)

Bootstrap the module.

Kind: static method of anonymize

Param Type Description
browser string The browser I guess?
config object The config I guess?

anonymize.onNotify(type, notification, topic, post, callback)

Runs on notification. If the anonymizer is not enabled or there's no quote, it early aborts. Otherwise, it sends a post to the quote's topic containing the text.

Kind: static method of anonymize

Param Type Description
type string The type of event. Only responds if this is 'private_message'
notification string The notification to respond to
topic string Unused.
post string The post the notification was for
callback function The callback to notify when processing is complete.