aboutsummaryrefslogtreecommitdiffstats
path: root/config-default.yml
diff options
context:
space:
mode:
authorGravatar Joseph <[email protected]>2020-04-05 14:18:00 +0100
committerGravatar GitHub <[email protected]>2020-04-05 14:18:00 +0100
commitb1373da0b64a3ab55bc53ea93b6e4948f95e99bc (patch)
tree6d1d01138c4aab88b1c3aa416f8b40ec7820595d /config-default.yml
parentMerge pull request #813 from python-discord/feat/ci/b000/cache-pipenv (diff)
parentMerge branch 'master' into feat/frontend/o200/help-channels (diff)
Merge pull request #786 from python-discord/feat/frontend/o200/help-channels
Implement a new help channel system
Diffstat (limited to 'config-default.yml')
-rw-r--r--config-default.yml50
1 files changed, 39 insertions, 11 deletions
diff --git a/config-default.yml b/config-default.yml
index a9578d9bb..70c31ebb5 100644
--- a/config-default.yml
+++ b/config-default.yml
@@ -111,7 +111,9 @@ guild:
id: 267624335836053506
categories:
- python_help: 356013061213126657
+ help_available: 691405807388196926
+ help_in_use: 356013061213126657
+ help_dormant: 691405908919451718
channels:
announcements: 354619224620138496
@@ -138,16 +140,6 @@ guild:
off_topic_1: 463035241142026251
off_topic_2: 463035268514185226
- # Python Help
- help_0: 303906576991780866
- help_1: 303906556754395136
- help_2: 303906514266226689
- help_3: 439702951246692352
- help_4: 451312046647148554
- help_5: 454941769734422538
- help_6: 587375753306570782
- help_7: 587375768556797982
-
# Special
bot_commands: &BOT_CMD 267659945086812160
esoteric: 470884583684964352
@@ -512,6 +504,42 @@ mention:
message_timeout: 300
reset_delay: 5
+help_channels:
+ enable: true
+
+ # Minimum interval before allowing a certain user to claim a new help channel
+ claim_minutes: 15
+
+ # Roles which are allowed to use the command which makes channels dormant
+ cmd_whitelist:
+ - *HELPERS_ROLE
+
+ # Allowed duration of inactivity before making a channel dormant
+ idle_minutes: 30
+
+ # Maximum number of channels to put in the available category
+ max_available: 2
+
+ # Maximum number of channels across all 3 categories
+ # Note Discord has a hard limit of 50 channels per category, so this shouldn't be > 50
+ max_total_channels: 32
+
+ # Prefix for help channel names
+ name_prefix: 'help-'
+
+ # Notify if more available channels are needed but there are no more dormant ones
+ notify: true
+
+ # Channel in which to send notifications
+ notify_channel: *HELPERS
+
+ # Minimum interval between helper notifications
+ notify_minutes: 15
+
+ # Mention these roles in notifications
+ notify_roles:
+ - *HELPERS_ROLE
+
redirect_output:
delete_invocation: true
delete_delay: 15