lib/slack/smart-bot/process.rb in slack-smart-bot-1.3.1 vs lib/slack/smart-bot/process.rb in slack-smart-bot-1.4.0

- old
+ new

@@ -1,30 +1,4 @@ -require_relative "commands/general/hi_bot" -require_relative "commands/general/bye_bot" -require_relative "commands/general/bot_help" -require_relative "commands/on_bot/ruby_code" -require_relative "commands/general/use_rules" -require_relative "commands/general/stop_using_rules" -require_relative "commands/on_master/admin_master/exit_bot" -require_relative "commands/on_master/admin_master/notify_message" -require_relative "commands/on_master/admin/kill_bot_on_channel" -require_relative "commands/on_master/create_bot" -require_relative "commands/on_bot/admin/add_routine" -require_relative "commands/on_bot/admin/start_bot" -require_relative "commands/on_bot/admin/pause_bot" -require_relative "commands/on_bot/admin/remove_routine" -require_relative "commands/on_bot/admin/run_routine" -require_relative "commands/on_bot/admin/pause_routine" -require_relative "commands/on_bot/admin/start_routine" -require_relative "commands/on_bot/admin/see_routines" -require_relative "commands/on_bot/admin/extend_rules" -require_relative "commands/on_bot/admin/stop_using_rules_on" -require_relative "commands/general/bot_status" -require_relative "commands/on_bot/add_shortcut" -require_relative "commands/on_bot/delete_shortcut" -require_relative "commands/on_bot/see_shortcuts" -require_relative "commands/on_extended/bot_rules" - class SlackSmartBot def process(user, command, dest, dchannel, rules_file, typem, files) from = user.name if user.profile.display_name.to_s.match?(/\A\s*\z/) user.profile.display_name = user.profile.real_name