forked from randsleadershipslack/destalinator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configuration.yaml
92 lines (73 loc) · 2.37 KB
/
configuration.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# Name of your Slack (Deprecated in favour of the slack_name env var)
slack_name: rands-leadership
# Name of environment variable that determines if destalinator should
# actually do things to a live slack. Without this environment variable,
# everything will output in a "dry run" fashion (debug messages should take place,
# but no changes or messages should affect a live Slack).
activated: false
# What should the bot's name be when it posts?
bot_name: "destalinator"
# What should the bot's avatar be when it posts?
bot_avatar_url: "https://s3-us-west-1.amazonaws.com/eng-management-docs/bread.png"
# Days of silence before we warn a channel it's going to be archived
warn_threshold: 30
# Days of silence before we auto-archive a channel
archive_threshold: 60
# Where should we post "general" announcement messages?
general_message_channel: "stale-channels"
# Where should we announce new channels?
announce_channel: "zmeta-new-channels"
# where are stats emitted?
stats_channel: "zmeta-statistics"
# users to ignore for stats collection
stats_ignore_users:
- example_bot_user
# is archive enabled?
archive_enabled: true
# is warning enabled?
warner_enabled: true
# is announce enabled?
announce_enabled: true
# is flagger enabled?
flagger_enabled: true
# is stats collection enabled?
stats_enabled: true
# Where do we send control messages?
control_channel: "zmeta-control"
# Where do flagged messages go?
flagger_channel: "zmeta-flagged"
# How many total reactions a message needs to be flagged
flagger_total_reaction_min: 5
# Where to send destalinator debug logs
log_channel: "destalinator-log"
# Channels to ignore when archiving (i.e. they can be silent and not get archived)
ignore_channels:
- destalinator-log
- stale-channels
# Regular expression patterns for additional channels to ignore during archiving
ignore_channel_patterns:
- ^zmeta-
- rands
- calibrate
- ^faq-
- people-of-color
- ^announcements
# Users to ignore when considering if a channel is stale
ignore_users:
- USLACKBOT
- destalinator
# Which message subtypes count as activity?
# "None" means the message was typed by a human and is included by default.
included_subtypes:
- bot_message
- channel_name
- channel_purpose
- channel_topic
- file_mention
- file_share
- me_message
- message_replied
- reply_broadcast
- slackbot_response
# When should destalinator run?
schedule_hour: 4