lib/hibot.rb in hibot-0.0.1 vs lib/hibot.rb in hibot-0.0.2

- old
+ new

@@ -4,11 +4,13 @@ require 'rainbow' # custom classes require 'hibot/helpers/configuration' require 'api/spotify' +require 'api/giphy' require 'hibot/plugins/spotify' +require 'hibot/plugins/giphy' module Hibot extend Configuration def self.launch(opts) @@ -23,10 +25,10 @@ # Load plugins c.plugins.plugins = [] config[:general]['plugins.plugins'.to_sym].each do |plugin| c.plugins.plugins << Object.const_get(plugin) - end + end end end # Loop to configure each activated plugins config[:general]['plugins.plugins'.to_sym].each do |plugin| \ No newline at end of file