Method: Cinch::Plugin#__register
- Defined in:
- lib/cinch/plugin.rb
#__register
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
This method returns an undefined value.
448 449 450 451 452 453 454 455 456 457 458 459 460 |
# File 'lib/cinch/plugin.rb', line 448 def __register missing = self.class.(@bot) unless missing.empty? @bot.loggers.warn "[plugin] #{self.class.plugin_name}: Could not register plugin because the following options are not set: #{missing.join(", ")}" return end __register_listeners __register_matchers __register_ctcps __register_timers __register_help end |