-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yaml
71 lines (64 loc) · 2.46 KB
/
config.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
63
64
65
66
67
68
69
70
71
---
# Whether to give the bot a bot tag (true) or not (false). Recommended to mark it but the option is here if you already
# marked it manually and it starts throwing user_already_exists errors
markAsBot: true
# If the community has a blacklist the bot will respond with the blacklist message on appropriate messages
# Else if it has a whitelist it will reply with the whitelist message on appropriate messages
# Else if it has both it will reply with the whitelist message
# Post replies will be dmed while comment replies will be replies to the comment
blacklistPostReply: "Your recent post in ${COMMUNITY} has been removed as it contains a link to a blacklisted domain."
blacklistCommentReply: "This comment has been removed as it contains a link to a blacklisted domain."
whitelistPostReply: "Your recent post in ${COMMUNITY} has been removed as it contains a link that is not whitelisted."
whitelistCommentReply: "This comment has been removed as it contains a link that is not whitelisted."
# If a community has a whitelist only posts that contain links to whitelisted domains will be allowed
# If a community has a blacklist posts that contain links to blacklisted domains will be removed
# If a community has both a whitelist and a blacklist only posts that contain links to whitelisted domains that are not blacklisted will be allowed
# If a community has neither a whitelist or a blacklist but is added to this list, no links will be allowed
# Example:
# instances:
# programming.dev:
# programming:
# blacklist:
# - "google.com"
# - "youtube.com"
instances:
programming.dev:
programming:
templates:
- "generalRemoval"
godot:
templates:
- "generalRemoval"
unreal_engine:
templates:
- "generalRemoval"
unity:
templates:
- "generalRemoval"
rust:
templates:
- "generalRemoval"
gamedev:
templates:
- "generalRemoval"
programmer_humor:
templates:
- "generalRemoval"
books:
templates:
- "instanceWhitelist"
# Templates are used to share link blacklists and whitelists between communities
templates:
generalRemoval:
blacklist:
- "domesticatedbrain.com" # AI generated articles that were being spammed
instanceWhitelist:
whitelist:
- "programming.dev"
- "lemmy.ml"
- "lemmy.world"
- "beehaw.org"
- "lemm.ee"
- "sh.itjust.works"
- "discuss.tchncs.de"
- "sopuli.xyz"