NAME
Dataninja::Bot::Dispatcher - Class for building Dataninja's dispatcher
DESCRIPTION
This class constructs Dataninja's dispatcher from all the plugins in Dataninja::Bot::Plugin.
ATTRIBUTES
prefix
(Path::Dispatcher::PrefixRule) Predicate for the dispatcher for handling the initially symbolic prefix in front of commands, such as !
, @
, or #
.
data_for_plugins
(Dataninja::Bot::Plugin) This is a class that uses the plugin base to store the data that Dataninja needs (message data, schema, etc.) to pass into each plugin for rule dispatching.