Sha256: 0a2628d40128bc415096b3a3ec8547044fcc44b43ae6d0f2176fdf17c696c0e5
Contents?: true
Size: 1.05 KB
Versions: 1
Compression:
Stored size: 1.05 KB
Contents
require 'slappy/dsl' Slappy.configure do |config| ## Slappy Settings # # token: # Slack API Token config.token = ENV['SLACK_TOKEN'] # scripts_path_dir: # Slappy scripts directory. # Slappy load scripts in this directory. config.scripts_dir_path = 'slappy-scripts' ## Default parameters # # There parameters use in say method when send to Slack. # Settings specified here will take precedence over those in method option # And other parameters give to method option if you want. # # Official API document: # https://api.slack.com/methods/chat.postMessage # username: # Name of bot. config.robot.username = 'slappy' # channel: # Channel, private group, or IM channel to send message to. # Can be an encoded ID, or a name. See below for more details. config.robot.channel = nil # icon_emoji: # emoji to use as the icon for this message. Overrides icon_url. config.robot.icon_emoji = nil # icon_url: # URL to an image to use as the icon for this message config.robot.icon_url = nil end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
slappy-0.3.0 | templates/slappy_config.rb |