3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-28 05:32:50 +01:00
dbot/modules/ignore
reality 223b20b598 * ~ban and ~unban now fully databankerised and tested [#331]
* Refactored ~ignore and ~unignore
* Refactored API
* Command uses new ban/ignore APIs, removed its own isBanned
* Ignore is now aware of servers [#188]
2013-04-11 20:12:29 +00:00
..
api.js * ~ban and ~unban now fully databankerised and tested [#331] 2013-04-11 20:12:29 +00:00
config.json Provisional/example ~ignore functionality using databank [#331] 2013-04-09 00:10:08 +00:00
ignore.js * ~ban and ~unban now fully databankerised and tested [#331] 2013-04-11 20:12:29 +00:00
README.md Documentation for the Ignore module [#75] 2012-12-30 17:44:51 +00:00
strings.json adding support for ban/unban from ignore module, with wildcards 2013-03-21 06:39:57 -04:00

Ignore

Ignore modules.

Description

Commands with which users can choose to ignore listeners and commands from certain modules persistently, by storing their choices in the database. This is an interface for the JSBot ignoreTag functionality which actually implements the ignoration.

Configuration

All modules may return with them an ignorable property, which defines whether or not their functionality may be ignored by users.

Commands

~ignore [module]

Ignore a given module. If the user does not specify a module, or provides an invalid one a list of modules which are available to ignore will be given.

~unignore [module]

Unignore a previously ignored module. If the user does not specify a module, or provides an invalid choice a list of modules which are currently ignored will be given.