aboutsummaryrefslogtreecommitdiffstats
path: root/config-default.yml
diff options
context:
space:
mode:
Diffstat (limited to 'config-default.yml')
-rw-r--r--config-default.yml56
1 files changed, 35 insertions, 21 deletions
diff --git a/config-default.yml b/config-default.yml
index 811640034..583733fda 100644
--- a/config-default.yml
+++ b/config-default.yml
@@ -1,3 +1,7 @@
+debug: !ENV ["BOT_DEBUG", "true"]
+file_logs: !ENV ["FILE_LOGS", "false"]
+
+
bot:
prefix: "!"
sentry_dsn: !ENV "BOT_SENTRY_DSN"
@@ -141,6 +145,8 @@ guild:
logs: &LOGS 468520609152892958
moderators: &MODS_CATEGORY 749736277464842262
modmail: &MODMAIL 714494672835444826
+ appeals: &APPEALS 890331800025563216
+ appeals2: &APPEALS2 895417395261341766
voice: 356013253765234688
summer_code_jam: 861692638540857384
@@ -154,9 +160,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
@@ -167,7 +174,7 @@ guild:
how_to_get_help: 704250143020417084
# Topical
- discord_py: 343944376055103488
+ discord_bots: 343944376055103488
# Logs
attachment_log: &ATTACH_LOG 649243850006855680
@@ -201,6 +208,7 @@ guild:
incidents_archive: 720668923636351037
mod_alerts: 473092532147060736
mods: &MODS 305126844661760000
+ mod_meta: 775412552795947058
nominations: 822920136150745168
nomination_voting: 822853512709931008
organisation: &ORGANISATION 551789653284356126
@@ -229,22 +237,22 @@ guild:
# 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
@@ -256,11 +264,16 @@ guild:
- *BLACK_FORMATTER
roles:
+ # Self-assignable roles, see the Subscribe cog
+ advent_of_code: 518565788744024082
announcements: 463658397560995840
+ lovefest: 542431903886606399
+ pyweek_announcements: 897568414044938310
+
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
@@ -300,9 +313,9 @@ guild:
big_brother: 569133704568373283
dev_log: 680501655111729222
duck_pond: 637821475327311927
+ incidents: 816650601844572212
incidents_archive: 720671599790915702
python_news: &PYNEWS_WEBHOOK 704381182279942324
- talent_pool: 569145364800602132
filter:
@@ -333,7 +346,6 @@ filter:
- *MESSAGE_LOG
- *MOD_LOG
- *STAFF_LOUNGE
- - *TALENT_POOL
role_whitelist:
- *ADMINS_ROLE
@@ -342,6 +354,7 @@ filter:
- *OWNERS_ROLE
- *PY_COMMUNITY_ROLE
- *SPRINTERS
+ - *PY_PARTNER_ROLE
keys:
@@ -354,17 +367,17 @@ 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"
+ snekbox_eval_api: !ENV ["SNEKBOX_EVAL_API", "http://snekbox.default.svc.cluster.local/eval"]
# Discord API URLs
discord_api: &DISCORD_API "https://discordapp.com/api/v7/"
@@ -376,6 +389,8 @@ urls:
anti_spam:
+ cache_size: 100
+
# Clean messages that violate a rule.
clean_offending: true
ping_everyone: true
@@ -431,14 +446,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: