aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-04-20 13:08:43 +0300
committerGravatar ks129 <[email protected]>2020-04-20 13:08:43 +0300
commite5f30076304eac16d76b0daabead346253c7d9b4 (patch)
tree2673eb1f290758996333f80076bde676bf3c9cc8
parentCreated helper function `get_webhook` and added property in `News` (diff)
Added new category `python_news` to config, that hold mail lists, channel and webhook.
This use local dev environment IDs.
-rw-r--r--config-default.yml20
1 files changed, 15 insertions, 5 deletions
diff --git a/config-default.yml b/config-default.yml
index f2b0bfa9f..553afaa33 100644
--- a/config-default.yml
+++ b/config-default.yml
@@ -122,6 +122,7 @@ guild:
channels:
announcements: 354619224620138496
user_event_announcements: &USER_EVENT_A 592000283102674944
+ python_news: &PYNEWS_CHANNEL 701667765102051398
# Development
dev_contrib: &DEV_CONTRIB 635950537262759947
@@ -231,11 +232,12 @@ guild:
- *HELPERS_ROLE
webhooks:
- talent_pool: 569145364800602132
- big_brother: 569133704568373283
- reddit: 635408384794951680
- duck_pond: 637821475327311927
- dev_log: 680501655111729222
+ talent_pool: 569145364800602132
+ big_brother: 569133704568373283
+ reddit: 635408384794951680
+ duck_pond: 637821475327311927
+ dev_log: 680501655111729222
+ python_news: &PYNEWS_WEBHOOK 701731296342179850
filter:
@@ -568,5 +570,13 @@ duck_pond:
- *DUCKY_MAUL
- *DUCKY_SANTA
+python_news:
+ mail_lists:
+ - 'python-ideas'
+ - 'python-announce-list'
+ - 'pypi-announce'
+ channel: *PYNEWS_CHANNEL
+ webhook: *PYNEWS_WEBHOOK
+
config:
required_keys: ['bot.token']