csbot.plugins.topic module

class csbot.plugins.topic.Topic(bot)[source]

Bases: csbot.plugin.Plugin

PLUGIN_DEPENDS = ['auth']
CONFIG_DEFAULTS = {'end': '', 'history': 5, 'sep': '|', 'start': ''}
setup()[source]

Plugin setup.

  • Replace all ProvidedByPlugin attributes.
  • Fire all plugin integration methods.
  • Register all commands provided by the plugin.
config_get(key, channel=None)[source]

A special implementation of Plugin.config_get() which looks at a channel-based configuration subsection before the plugin’s configuration section.

topic_changed(e)[source]
topic(e)[source]
topic_history(e)[source]
topic_undo(e)[source]
topic_append(e)[source]
topic_pop(e)[source]
topic_replace(e)[source]
topic_insert(e)[source]