aboutsummaryrefslogtreecommitdiffstats
path: root/config-default.yml
diff options
context:
space:
mode:
Diffstat (limited to 'config-default.yml')
-rw-r--r--config-default.yml88
1 files changed, 47 insertions, 41 deletions
diff --git a/config-default.yml b/config-default.yml
index 8fc1f6718..3afe9ba3c 100644
--- a/config-default.yml
+++ b/config-default.yml
@@ -1,7 +1,8 @@
bot:
- prefix: "!"
- sentry_dsn: !ENV "BOT_SENTRY_DSN"
- token: !ENV "BOT_TOKEN"
+ prefix: "!"
+ sentry_dsn: !ENV "BOT_SENTRY_DSN"
+ token: !ENV "BOT_TOKEN"
+ trace_loggers: !ENV "BOT_TRACE_LOGGERS"
clean:
# Maximum number of messages to traverse for clean commands
@@ -46,6 +47,8 @@ style:
badge_partner: "<:partner:748666453242413136>"
badge_staff: "<:discord_staff:743882896498098226>"
badge_verified_bot_developer: "<:verified_bot_dev:743882897299210310>"
+ bot: "<:bot:812712599464443914>"
+ verified_bot: "<:verified_bot:811645219220750347>"
defcon_shutdown: "<:defcondisabled:470326273952972810>"
defcon_unshutdown: "<:defconenabled:470326274213150730>"
@@ -53,15 +56,17 @@ style:
failmail: "<:failmail:633660039931887616>"
- incident_actioned: "<:incident_actioned:719645530128646266>"
- incident_investigating: "<:incident_investigating:719645658671480924>"
- incident_unactioned: "<:incident_unactioned:719645583245180960>"
+ incident_actioned: "<:incident_actioned:714221559279255583>"
+ incident_investigating: "<:incident_investigating:714224190928191551>"
+ incident_unactioned: "<:incident_unactioned:714223099645526026>"
status_dnd: "<:status_dnd:470326272082313216>"
status_idle: "<:status_idle:470326266625785866>"
status_offline: "<:status_offline:470326266537705472>"
status_online: "<:status_online:470326272351010816>"
+ ducky_dave: "<:ducky_dave:742058418692423772>"
+
trashcan: "<:trashcan:637136429717389331>"
bullet: "\u2022"
@@ -70,11 +75,6 @@ style:
new: "\U0001F195"
pencil: "\u270F"
- # emotes used for #reddit
- comments: "<:reddit_comments:755845255001014384>"
- upvotes: "<:reddit_upvotes:755845219890757644>"
- user: "<:reddit_users:755845303822974997>"
-
ok_hand: ":ok_hand:"
icons:
@@ -139,6 +139,7 @@ guild:
help_dormant: 691405908919451718
help_in_use: 696958401460043776
logs: &LOGS 468520609152892958
+ moderators: &MODS_CATEGORY 749736277464842262
modmail: &MODMAIL 714494672835444826
voice: 356013253765234688
@@ -150,7 +151,6 @@ guild:
python_events: &PYEVENTS_CHANNEL 729674110270963822
python_news: &PYNEWS_CHANNEL 704372456592506880
reddit: &REDDIT_CHANNEL 458224812528238616
- user_event_announcements: &USER_EVENT_A 592000283102674944
# Development
dev_contrib: &DEV_CONTRIB 635950537262759947
@@ -163,15 +163,16 @@ guild:
# Python Help: Available
cooldown: 720603994149486673
+ how_to_get_help: 704250143020417084
# Topical
discord_py: 343944376055103488
# Logs
attachment_log: &ATTACH_LOG 649243850006855680
- dm_log: 653713721625018428
message_log: &MESSAGE_LOG 467752170159079424
mod_log: &MOD_LOG 282638479504965634
+ nomination_archive: 833371042046148738
user_log: 528976905546760203
voice_log: 640292421988646961
@@ -193,15 +194,12 @@ guild:
helpers: &HELPERS 385474242440986624
incidents: 714214212200562749
incidents_archive: 720668923636351037
- mods: &MODS 305126844661760000
mod_alerts: 473092532147060736
- mod_appeals: &MOD_APPEALS 808790025688711198
- mod_meta: &MOD_META 775412552795947058
- mod_spam: &MOD_SPAM 620607373828030464
- mod_tools: &MOD_TOOLS 775413915391098921
+ nominations: 822920136150745168
nomination_voting: 822853512709931008
organisation: &ORGANISATION 551789653284356126
staff_lounge: &STAFF_LOUNGE 464905259261755392
+ staff_info: &STAFF_INFO 396684402404622347
# Staff announcement channels
admin_announcements: &ADMIN_ANNOUNCEMENTS 749736155569848370
@@ -225,17 +223,13 @@ guild:
big_brother_logs: &BB_LOGS 468507907357409333
moderation_categories:
+ - *MODS_CATEGORY
- *MODMAIL
- *LOGS
moderation_channels:
- *ADMINS
- *ADMIN_SPAM
- - *MOD_APPEALS
- - *MOD_META
- - *MOD_TOOLS
- - *MODS
- - *MOD_SPAM
# Modlog cog ignores events which occur in these channels
modlog_blacklist:
@@ -264,33 +258,38 @@ guild:
admins: &ADMINS_ROLE 267628507062992896
core_developers: 587606783669829632
devops: 409416496733880320
+ domain_leads: 807415650778742785
helpers: &HELPERS_ROLE 267630620367257601
- moderators: &MODS_ROLE 267629731250176001
+ moderators: &MODS_ROLE 831776746206265384
+ mod_team: &MOD_TEAM_ROLE 267629731250176001
owners: &OWNERS_ROLE 267627879762755584
+ project_leads: 815701647526330398
# Code Jam
jammers: 737249140966162473
team_leaders: 737250302834638889
+ # Streaming
+ video: 764245844798079016
+
moderation_roles:
- *ADMINS_ROLE
+ - *MOD_TEAM_ROLE
- *MODS_ROLE
- *OWNERS_ROLE
staff_roles:
- *ADMINS_ROLE
- *HELPERS_ROLE
- - *MODS_ROLE
+ - *MOD_TEAM_ROLE
- *OWNERS_ROLE
webhooks:
big_brother: 569133704568373283
dev_log: 680501655111729222
- dm_log: 654567640664244225
duck_pond: 637821475327311927
incidents_archive: 720671599790915702
python_news: &PYNEWS_WEBHOOK 704381182279942324
- reddit: 635408384794951680
filter:
@@ -321,7 +320,6 @@ filter:
- *MESSAGE_LOG
- *MOD_LOG
- *STAFF_LOUNGE
- - *USER_EVENT_A
role_whitelist:
- *ADMINS_ROLE
@@ -419,11 +417,14 @@ anti_spam:
max: 3
-reddit:
- client_id: !ENV "REDDIT_CLIENT_ID"
- secret: !ENV "REDDIT_SECRET"
- subreddits:
- - 'r/Python'
+
+metabase:
+ username: !ENV "METABASE_USERNAME"
+ password: !ENV "METABASE_PASSWORD"
+ url: "http://metabase.default.svc.cluster.local/api"
+ # 14 days, see https://www.metabase.com/docs/latest/operations-guide/environment-variables.html#max_session_age
+ max_session_age: 20160
+
big_brother:
@@ -459,15 +460,16 @@ free:
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
+ # Allowed duration of inactivity by claimant before making a channel dormant
+ idle_minutes_claimant: 30
+
+ # Allowed duration of inactivity by others before making a channel dormant
+ # `idle_minutes_claimant` must also be met, before a channel is closed
+ idle_minutes_others: 10
# Allowed duration of inactivity when channel is empty (due to deleted messages)
# before message making a channel dormant
@@ -478,7 +480,7 @@ help_channels:
# 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
+ max_total_channels: 42
# Prefix for help channel names
name_prefix: 'help-'
@@ -503,19 +505,19 @@ redirect_output:
duck_pond:
- threshold: 5
+ threshold: 7
channel_blacklist:
- *ANNOUNCEMENTS
- *PYNEWS_CHANNEL
- *PYEVENTS_CHANNEL
- *MAILING_LISTS
- *REDDIT_CHANNEL
- - *USER_EVENT_A
- *DUCK_POND
- *CHANGE_LOG
- *STAFF_ANNOUNCEMENTS
- *MOD_ANNOUNCEMENTS
- *ADMIN_ANNOUNCEMENTS
+ - *STAFF_INFO
python_news:
@@ -543,3 +545,7 @@ branding:
config:
required_keys: ['bot.token']
+
+
+video_permission:
+ default_permission_duration: 5 # Default duration for stream command in minutes