diff options
Diffstat (limited to 'config-default.yml')
| -rw-r--r-- | config-default.yml | 67 | 
1 files changed, 40 insertions, 27 deletions
diff --git a/config-default.yml b/config-default.yml index 48fd7c47e..b61d9c99c 100644 --- a/config-default.yml +++ b/config-default.yml @@ -1,3 +1,6 @@ +debug: !ENV ["BOT_DEBUG", "true"] + +  bot:      prefix:         "!"      sentry_dsn:     !ENV "BOT_SENTRY_DSN" @@ -141,7 +144,10 @@ guild:          logs:               &LOGS           468520609152892958          moderators:         &MODS_CATEGORY  749736277464842262          modmail:            &MODMAIL        714494672835444826 +        appeals:            &APPEALS        890331800025563216 +        appeals2:           &APPEALS2       895417395261341766          voice:                              356013253765234688 +        summer_code_jam:                    861692638540857384      channels:          # Public announcement and news channels @@ -153,9 +159,10 @@ guild:          reddit:                     &REDDIT_CHANNEL     458224812528238616          # Development -        dev_contrib:        &DEV_CONTRIB    635950537262759947 -        dev_core:           &DEV_CORE       411200599653351425 -        dev_log:            &DEV_LOG        622895325144940554 +        dev_contrib:        &DEV_CONTRIB     635950537262759947 +        dev_core:           &DEV_CORE        411200599653351425 +        dev_voting:         &DEV_CORE_VOTING 839162966519447552 +        dev_log:            &DEV_LOG         622895325144940554          # Discussion          meta:                               429409067623251969 @@ -188,6 +195,7 @@ guild:          bot_commands:       &BOT_CMD        267659945086812160          esoteric:                           470884583684964352          voice_gate:                         764802555427029012 +        code_jam_planning:                  490217981872177157          # Staff          admins:             &ADMINS         365960823622991872 @@ -198,6 +206,7 @@ guild:          incidents:                          714214212200562749          incidents_archive:                  720668923636351037          mod_alerts:                         473092532147060736 +        mods:               &MODS           305126844661760000          nominations:                        822920136150745168          nomination_voting:                  822853512709931008          organisation:       &ORGANISATION   551789653284356126 @@ -211,34 +220,37 @@ guild:          # Voice Channels          admins_voice:       &ADMINS_VOICE   500734494840717332 -        code_help_voice_1:                  751592231726481530 -        code_help_voice_2:                  764232549840846858 -        general_voice:                      751591688538947646 +        code_help_voice_0:                  751592231726481530 +        code_help_voice_1:                  764232549840846858 +        general_voice_0:                    751591688538947646 +        general_voice_1:                    799641437645701151          staff_voice:        &STAFF_VOICE    412375055910043655          # Voice Chat -        code_help_chat_1:                   755154969761677312 -        code_help_chat_2:                   766330079135268884 +        code_help_chat_0:                   755154969761677312 +        code_help_chat_1:                   766330079135268884          staff_voice_chat:                   541638762007101470 -        voice_chat:                         412357430186344448 +        voice_chat_0:                       412357430186344448 +        voice_chat_1:                       799647045886541885          # Watch          big_brother_logs:   &BB_LOGS        468507907357409333 -        talent_pool:        &TALENT_POOL    534321732593647616      moderation_categories:          - *MODS_CATEGORY          - *MODMAIL          - *LOGS +        - *APPEALS +        - *APPEALS2      moderation_channels:          - *ADMINS          - *ADMIN_SPAM +        - *MODS -    # Modlog cog ignores events which occur in these channels +    # Modlog cog explicitly ignores events which occur in these channels. +    # This is on top of implicitly ignoring events in channels that the mod team cannot view.      modlog_blacklist: -        - *ADMINS -        - *ADMINS_VOICE          - *ATTACH_LOG          - *MESSAGE_LOG          - *MOD_LOG @@ -254,7 +266,7 @@ guild:          contributors:                           295488872404484098          help_cooldown:                          699189276025421825          muted:              &MUTED_ROLE         277914926603829249 -        partners:                               323426753857191936 +        partners:           &PY_PARTNER_ROLE    323426753857191936          python_community:   &PY_COMMUNITY_ROLE  458226413825294336          sprinters:          &SPRINTERS          758422482289426471          voice_verified:                         764802720779337729 @@ -262,8 +274,10 @@ guild:          # Staff          admins:             &ADMINS_ROLE    267628507062992896          core_developers:                    587606783669829632 +        code_jam_event_team:                787816728474288181          devops:                             409416496733880320          domain_leads:                       807415650778742785 +        events_lead:                        778361735739998228          helpers:            &HELPERS_ROLE   267630620367257601          moderators:         &MODS_ROLE      831776746206265384          mod_team:           &MOD_TEAM_ROLE  267629731250176001 @@ -272,7 +286,6 @@ guild:          # Code Jam          jammers:        737249140966162473 -        team_leaders:   737250302834638889          # Streaming          video:          764245844798079016 @@ -295,7 +308,6 @@ guild:          duck_pond:                          637821475327311927          incidents_archive:                  720671599790915702          python_news:        &PYNEWS_WEBHOOK 704381182279942324 -        talent_pool:                        569145364800602132  filter: @@ -326,7 +338,6 @@ filter:          - *MESSAGE_LOG          - *MOD_LOG          - *STAFF_LOUNGE -        - *TALENT_POOL      role_whitelist:          - *ADMINS_ROLE @@ -335,6 +346,7 @@ filter:          - *OWNERS_ROLE          - *PY_COMMUNITY_ROLE          - *SPRINTERS +        - *PY_PARTNER_ROLE  keys: @@ -347,14 +359,14 @@ urls:      connect_max_retries:       3      connect_cooldown:          5      site:        &DOMAIN       "pythondiscord.com" -    site_api:    &API          "pydis-api.default.svc.cluster.local" +    site_api:    &API          "site.default.svc.cluster.local/api"      site_api_schema:           "http://"      site_paste:  &PASTE  !JOIN ["paste.", *DOMAIN]      site_schema: &SCHEMA       "https://" -    site_staff:  &STAFF  !JOIN ["staff.", *DOMAIN] +    site_staff:  &STAFF  !JOIN [*SCHEMA, *DOMAIN, "/staff"]      paste_service:                      !JOIN [*SCHEMA, *PASTE, "/{key}"] -    site_logs_view:                     !JOIN [*SCHEMA, *STAFF, "/bot/logs"] +    site_logs_view:                     !JOIN [*STAFF, "/bot/logs"]      # Snekbox      snekbox_eval_api: "http://snekbox.default.svc.cluster.local/eval" @@ -369,6 +381,8 @@ urls:  anti_spam: +    cache_size: 100 +      # Clean messages that violate a rule.      clean_offending: true      ping_everyone: true @@ -396,7 +410,7 @@ anti_spam:          chars:              interval: 5 -            max: 3_000 +            max: 4_200          discord_emojis:              interval: 10 @@ -424,14 +438,13 @@ anti_spam:              max: 3 -  metabase: -    username: !ENV "METABASE_USERNAME" -    password: !ENV "METABASE_PASSWORD" -    url: "http://metabase.default.svc.cluster.local/api" +    username: !ENV      "METABASE_USERNAME" +    password: !ENV      "METABASE_PASSWORD" +    base_url:           "http://metabase.default.svc.cluster.local" +    public_url:         "https://metabase.pythondiscord.com"      # 14 days, see https://www.metabase.com/docs/latest/operations-guide/environment-variables.html#max_session_age -    max_session_age: 20160 - +    max_session_age:    20160  big_brother:  |