forked from pinterest/slackminion
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yaml.example
More file actions
60 lines (52 loc) · 1.46 KB
/
config.yaml.example
File metadata and controls
60 lines (52 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
---
# Enables extra output for debugging
debug: True
# The API token provided by slack
slack_token: xoxb-27...
# Directory for extra plugins
plugin_dir: plugins
# Plugin list to load
plugins:
# Uncomment the following to enable ACL+admin checks
# - slackminion.plugins.core.AuthManager
- slackminion.plugins.test.TestPlugin
# - slackminion.plugins.test.TestAclPlugin
- slackminion.plugins.state.file.FileStateHandler
# Comment out the above and uncomment this line to use s3 instead
# - slackminion.plugins.state_s3.handler.S3StateHandler
# Comment out the above and uncomment this line to use redis instead
# - slackminion.plugins.state_redis.handler.RedisStateHandler
# Comment out the above and uncomment this line to use mysql instead
# - slackminion.plugins.state_mysql.handler.MySQLStateHandler
# Users who should be granted admin access
# Only used if AuthManager is enabled
bot_admins:
- someuser
# Hide admin commands in !help from non-admins
hide_admin_commands: True
plugin_settings:
FileStateHandler:
data_dir: .
RedisStateHandler:
host: localhost
port: 6379
MySQLStateHandler:
host: localhost
user: slack
passwd: slack
db: slack
S3StateHandler:
bucket: slack
prefix: bot
aws_access_key: aws_key
aws_secret_key: aws_secret
TestPlugin:
channel: botfactory
# Commands to always reply using DM
always_send_dm:
- help
- whoami
# Web server host and port to bind to
webserver:
host: 127.0.0.1
port: 11111