forked from randsleadershipslack/destalinator
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfiguration.yaml
89 lines (75 loc) · 2.12 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
# Name of your Slack (Deprecated in favour of the slack_name env var)
slack_name: efectotequila
# 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: "Archivaldo"
# What should the bot's avatar be when it posts?
bot_avatar_url: "https://i.imgur.com/nXn77zC.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: "canales-inactivos"
# Where should we announce new channels?
announce_channel: "canales-nuevos"
# Where do we send control messages?
control_channel: "archivaldo-control"
# Where to send destalinator debug logs
log_channel: "archivaldo-log"
# Channels to ignore when archiving (i.e. they can be silent and not get archived)
ignore_channels:
- archivaldo-log
- canales-inactivos
- canales-nuevos
- archivaldo-control
- askanything
- asktech
- deportv
- domain-check
- gas_tronomico
- kheverga
- motivate
- nocontext
- nosvaleverga
- nsfl
- spanishnt
- til
- tuitazos
- tvnotas
- viejitoenojado
- visto_en_fb
- yacallatepincherafa
- salebai
# Regular expression patterns for additional channels to ignore during archiving
ignore_channel_patterns:
- ^zmeta-
- lacantina
- buenavibra
- general
- nba
- oled
- pochos
# Users to ignore when considering if a channel is stale
ignore_users:
- Slackbot
- Archivaldo
- Alvaritobot
- archivaldo
# Which message subtypes count as activity?
# "None" means the message was typed by a human and is included by default.
included_subtypes:
- channel_name
- channel_purpose
- channel_topic
- file_mention
- file_share
- me_message
- message_replied
- reply_broadcast
# When should destalinator run?
schedule_hour: 4