-
Notifications
You must be signed in to change notification settings - Fork 4
/
slackbot_settings.py.dist
48 lines (42 loc) · 1.95 KB
/
slackbot_settings.py.dist
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
##################################################################
# REQUIRED: Slack Config
##################################################################
## subdomain for your slack channel, e.g.: https://<team_name>.slack.com
team_name = ''
## your bots username in slack
bot_name = 'emojibot'
## get at https://<team_name>.slack.com/apps/manage/custom-integrations
API_TOKEN = ""
## get via
## 1. Using Google Chrome
## 2. go to your slack channel in browser https://<team_name>.slack.com
## 3. sign in.
## 4. Open the "Inspect" window (right click, select "Inspect")
## 5. Open the "Network" tab
## 6. Select the "XHR" filter
## 7. Select a request. If no requests are available you may need to refresh. Screenshot: http://bits.owocki.com/2D391v452w2F/Image%202016-06-21%20at%206.19.12%20AM.png
## 8. Select the cookies string for that request. Screenshot: http://bits.owocki.com/3T2E2z1I2v3h/Image%202016-06-21%20at%206.18.20%20AM.png
## 9. You now have your 'cookie' value. Paste it below! :point_down:
cookie = ''
#font name: a font that's installed on your system
#On a mac: Arial.ttf
#On ubuntu: DejaVuSerif.ttf
fontname = "Arial.ttf"
##################################################################
#OPTIONAL: bot config
##################################################################
## number of images to return per image search performed
## changes the size of image returned with `@emojibot find` command
small_num_image_rows = 4
small_num_image_columns = 6
large_num_image_rows = 6
large_num_image_columns = 12
## append the following terms to searches. e,g: if user inputs '@emojibot find cop', then a search for 'cop', 'cop emoji', 'cop cartoon' will be performed
append_search_terms = ['', 'emoji', 'cartoon', 'icon']
#################################################################
#NO TOUCHING!
#################################################################
PLUGINS = [
'emojibot.plugins',
]
DEFAULT_REPLY = "Sorry but I didn't understand you"