NAME
App::Dataninja::Bot::Dispatcher - Class for building App::Dataninja's dispatcher
DESCRIPTION
This class constructs App::Dataninja's dispatcher from all the plugins in App::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
(App::Dataninja::Bot::Plugin) This is a class that uses the plugin base to store the data that the bot needs (message data, schema, etc.) to pass into each plugin for rule dispatching.