Sha256: f90a5cda0ca522ccee1f2d7b1b0cd2f2ff9bdfb8db7d74507def027a62036fb1
Contents?: true
Size: 470 Bytes
Versions: 3
Compression:
Stored size: 470 Bytes
Contents
# Initialize require 'dotenv' Dotenv.load require 'rubygems' require 'bundler/setup' require './lib/status.rb' require './lib/slack.rb' APP_ENV = ENV['APP_ENV'] if !defined?(APP_ENV) && ENV['APP_ENV'] APP_ENV = 'development' if !defined?(APP_ENV) Bundler.require(:default, APP_ENV.to_sym) # Create bot manager botmanager = SlackBotManager::Manager.new # Add Slack token botmanager.add_token(ENV['SLACK_TOKEN']) # Start manager botmanager.start botmanager.monitor
Version data entries
3 entries across 3 versions & 1 rubygems