-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.example.yaml
62 lines (58 loc) · 1.68 KB
/
config.example.yaml
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
61
62
account:
username: bot_username
password: bot_password
oauth:
client_id: CLIENT_ID_HERE
client_secret: CLIENT_SECRET_HERE
redirect_uri: http://localhost/authorize_callback
bot:
subreddit: botsubreddithere
oauth_scopes:
- edit
- identity
- read
- history
- submit
- privatemessages
- wikiedit
- wikiread
useragent:
'default': Sample bot by /u/yournamehere v0.0 at /r/botsubreddithere
'cleanup': Sample cleanup bot by /u/yournamehere v0.0 at /r/botsubreddithere
'inbox': Sample inbox bot by /u/yournamehere v0.0 at /r/botsubreddithere
footer: ^(Questions, comments, image suggestions? All are welcomed at /r/image_linker_bot)
seen_len: 1000
toomuch: |
Message to send to people who reply-reply
cleanup_time: 900 #Clean up every 15 minutes
inbox_time: 900 #Check inbox every 15 minutes
imagethread: thread_id # Thread to update with imagelist
status_template: status_template.html
# Image extension handling
matching:
extensions:
- jpeg
- jpg
- png
- gif
- bmp
- avi
- tiff
- tif
animated_extensions:
- gif
- avi
switchable_extensions:
- jpeg
- jpg
- gif
- png
# Ignore list functionality
ignore_messages:
- ignore me
ignore_reply: You have been added to the ignore list
unignore_messages:
- unignore me
unignore_reply: You have been removed from the ignore list
#Database setup
dbfile: joelbot.db