aboutsummaryrefslogtreecommitdiffstats
path: root/config-default.yml
diff options
context:
space:
mode:
Diffstat (limited to 'config-default.yml')
-rw-r--r--config-default.yml91
1 files changed, 61 insertions, 30 deletions
diff --git a/config-default.yml b/config-default.yml
index 7854b5db9..0dac9bf9f 100644
--- a/config-default.yml
+++ b/config-default.yml
@@ -25,7 +25,7 @@ style:
green_chevron: "<:greenchevron:418104310329769993>"
red_chevron: "<:redchevron:418112778184818698>"
white_chevron: "<:whitechevron:418110396973711363>"
- bb_message: "<:bbmessage:472476937504423936>"
+ bb_message: "<:bbmessage:476273120999636992>"
status_online: "<:status_online:470326272351010816>"
status_idle: "<:status_idle:470326266625785866>"
@@ -85,13 +85,17 @@ style:
guild:
id: 267624335836053506
+ categories:
+ python_help: 356013061213126657
+
channels:
admins: &ADMINS 365960823622991872
announcements: 354619224620138496
big_brother_logs: &BBLOGS 468507907357409333
bot: 267659945086812160
checkpoint_test: 422077681434099723
- devlog: &DEVLOG 409308876241108992
+ defcon: 464469101889454091
+ devlog: &DEVLOG 622895325144940554
devtest: &DEVTEST 414574275865870337
help_0: 303906576991780866
help_1: 303906556754395136
@@ -99,6 +103,8 @@ guild:
help_3: 439702951246692352
help_4: 451312046647148554
help_5: 454941769734422538
+ help_6: 587375753306570782
+ help_7: 587375768556797982
helpers: 385474242440986624
message_log: &MESSAGE_LOG 467752170159079424
mod_alerts: 473092532147060736
@@ -109,6 +115,9 @@ guild:
python: 267624335836053506
reddit: 458224812528238616
staff_lounge: &STAFF_LOUNGE 464905259261755392
+ talent_pool: &TALENT_POOL 534321732593647616
+ userlog: 528976905546760203
+ user_event_a: &USER_EVENT_A 592000283102674944
verification: 352442727016693763
ignored: [*ADMINS, *MESSAGE_LOG, *MODLOG]
@@ -118,25 +127,37 @@ guild:
announcements: 463658397560995840
champion: 430492892331769857
contributor: 295488872404484098
- developer: 352427296948486144
- devops: &DEVOPS_ROLE 409416496733880320
+ core_developer: 587606783669829632
+ helpers: 267630620367257601
jammer: 423054537079783434
moderator: &MOD_ROLE 267629731250176001
muted: &MUTED_ROLE 277914926603829249
owner: &OWNER_ROLE 267627879762755584
- verified: 352427296948486144
- helpers: 267630620367257601
+ partners: 323426753857191936
rockstars: &ROCKSTARS_ROLE 458226413825294336
+ team_leader: 501324292341104650
+ verified: 352427296948486144
+
+ webhooks:
+ talent_pool: 569145364800602132
+ big_brother: 569133704568373283
filter:
# What do we filter?
- filter_zalgo: false
- filter_invites: true
- filter_domains: true
- watch_words: true
- watch_tokens: true
+ filter_zalgo: false
+ filter_invites: true
+ filter_domains: true
+ watch_rich_embeds: true
+ watch_words: true
+ watch_tokens: true
+
+ # Notify user on filter?
+ # Notifications are not expected for "watchlist" type filters
+ notify_user_zalgo: false
+ notify_user_invites: true
+ notify_user_domains: false
# Filter configuration
ping_everyone: true # Ping @everyone when we send a mod-alert?
@@ -146,6 +167,13 @@ filter:
- 267624335836053506 # Python Discord
- 440186186024222721 # Python Discord: ModLog Emojis
- 273944235143593984 # STEM
+ - 348658686962696195 # RLBot
+ - 531221516914917387 # Pallets
+ - 249111029668249601 # Gentoo
+ - 327254708534116352 # Adafruit
+ - 544525886180032552 # kennethreitz.org
+ - 590806733924859943 # Discord Hack Week
+ - 423249981340778496 # Kivy
domain_blacklist:
- pornhub.com
@@ -169,6 +197,8 @@ filter:
- (re+)tar+(d+|t+)(ed)?
- ta+r+d+
- cunts*
+ - trann*y
+ - shemale
token_watchlist:
- fa+g+s*
@@ -187,21 +217,18 @@ filter:
- *BBLOGS
- *STAFF_LOUNGE
- *DEVTEST
+ - *TALENT_POOL
+ - *USER_EVENT_A
role_whitelist:
- *ADMIN_ROLE
- *MOD_ROLE
- *OWNER_ROLE
- - *DEVOPS_ROLE
- *ROCKSTARS_ROLE
keys:
- deploy_bot: !ENV "DEPLOY_BOT_KEY"
- deploy_site: !ENV "DEPLOY_SITE"
- omdb: !ENV "OMDB_API_KEY"
site_api: !ENV "BOT_API_KEY"
- youtube: !ENV "YOUTUBE_API_KEY"
urls:
@@ -209,38 +236,31 @@ urls:
site: &DOMAIN "pythondiscord.com"
site_api: &API !JOIN ["api.", *DOMAIN]
site_paste: &PASTE !JOIN ["paste.", *DOMAIN]
+ site_staff: &STAFF !JOIN ["staff.", *DOMAIN]
site_schema: &SCHEMA "https://"
site_bigbrother_api: !JOIN [*SCHEMA, *API, "/bot/bigbrother"]
site_docs_api: !JOIN [*SCHEMA, *API, "/bot/docs"]
- site_facts_api: !JOIN [*SCHEMA, *API, "/bot/snake_facts"]
site_superstarify_api: !JOIN [*SCHEMA, *API, "/bot/superstarify"]
- site_idioms_api: !JOIN [*SCHEMA, *API, "/bot/snake_idioms"]
site_infractions: !JOIN [*SCHEMA, *API, "/bot/infractions"]
site_infractions_user: !JOIN [*SCHEMA, *API, "/bot/infractions/user/{user_id}"]
site_infractions_type: !JOIN [*SCHEMA, *API, "/bot/infractions/type/{infraction_type}"]
site_infractions_by_id: !JOIN [*SCHEMA, *API, "/bot/infractions/id/{infraction_id}"]
site_infractions_user_type_current: !JOIN [*SCHEMA, *API, "/bot/infractions/user/{user_id}/{infraction_type}/current"]
+ site_infractions_user_type: !JOIN [*SCHEMA, *API, "/bot/infractions/user/{user_id}/{infraction_type}"]
site_logs_api: !JOIN [*SCHEMA, *API, "/bot/logs"]
- site_logs_view: !JOIN [*SCHEMA, *DOMAIN, "/bot/logs"]
- site_names_api: !JOIN [*SCHEMA, *API, "/bot/snake_names"]
+ site_logs_view: !JOIN [*SCHEMA, *STAFF, "/bot/logs"]
site_off_topic_names_api: !JOIN [*SCHEMA, *API, "/bot/off-topic-names"]
- site_quiz_api: !JOIN [*SCHEMA, *API, "/bot/snake_quiz"]
site_reminders_api: !JOIN [*SCHEMA, *API, "/bot/reminders"]
site_reminders_user_api: !JOIN [*SCHEMA, *API, "/bot/reminders/user"]
site_settings_api: !JOIN [*SCHEMA, *API, "/bot/settings"]
- site_special_api: !JOIN [*SCHEMA, *API, "/bot/special_snakes"]
site_tags_api: !JOIN [*SCHEMA, *API, "/bot/tags"]
site_user_api: !JOIN [*SCHEMA, *API, "/bot/users"]
site_user_complete_api: !JOIN [*SCHEMA, *API, "/bot/users/complete"]
paste_service: !JOIN [*SCHEMA, *PASTE, "/{key}"]
# Snekbox
- snekbox_eval_api: "http://localhost:8060/eval"
-
- # Env vars
- deploy: !ENV "DEPLOY_URL"
- status: !ENV "STATUS_URL"
+ snekbox_eval_api: "https://snekbox.pythondiscord.com/eval"
# Discord API URLs
discord_api: &DISCORD_API "https://discordapp.com/api/v7/"
@@ -248,8 +268,7 @@ urls:
# Misc URLs
bot_avatar: "https://raw.githubusercontent.com/discord-python/branding/master/logos/logo_circle/logo_circle.png"
- gitlab_bot_repo: "https://gitlab.com/python-discord/projects/bot"
- omdb: "http://omdbapi.com"
+ github_bot_repo: "https://github.com/python-discord/bot"
anti_spam:
# Clean messages that violate a rule.
@@ -263,7 +282,7 @@ anti_spam:
rules:
attachments:
interval: 10
- max: 3
+ max: 9
burst:
interval: 10
@@ -296,6 +315,7 @@ anti_spam:
newlines:
interval: 10
max: 100
+ max_consecutive: 10
role_mentions:
interval: 10
@@ -320,5 +340,16 @@ big_brother:
header_message_limit: 15
+free:
+ # Seconds to elapse for a channel
+ # to be considered inactive.
+ activity_timeout: 600
+ cooldown_rate: 1
+ cooldown_per: 60.0
+
+redirect_output:
+ delete_invocation: true
+ delete_delay: 15
+
config:
required_keys: ['bot.token']