Witty Module

In response to certain patterns (determined by a regex) will post a response picked randomly from a list of them associated with that trigger. Rate limits itself to make sure it isn't too annoying.

Configuration

witty.cooldown

The cooldown time for the witty module. At least this many seconds must have passed before the bot will make another witty reply.

witty.responses

Stores the replies used by the Witty module and must be configured using !addwit or !removewit

AddWit

!addwit <trigger> <response>

Adds a response that is triggered by trigger.

trigger

Any valid regex string, but it must be in quotes if it has spaces.

response

All possible responses, split up by |. Also requires quotes if it has spaces.

RemoveWit

!removewit <trigger>

Removes trigger from wittyremarks, provided it exists.

trigger

Any valid regex string.