aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/constants.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/bot/constants.py b/bot/constants.py
index 4c2f22741..202a17d71 100644
--- a/bot/constants.py
+++ b/bot/constants.py
@@ -394,7 +394,6 @@ class Channels(metaclass=YAMLGetter):
off_topic_2: int
organisation: int
python_discussion: int
- python_news: int
reddit: int
talent_pool: int
user_event_announcements: int
@@ -412,7 +411,6 @@ class Webhooks(metaclass=YAMLGetter):
reddit: int
duck_pond: int
dev_log: int
- python_news: int
class Roles(metaclass=YAMLGetter):
@@ -571,6 +569,14 @@ class Sync(metaclass=YAMLGetter):
max_diff: int
+class PythonNews(metaclass=YAMLGetter):
+ section = 'python_news'
+
+ mail_lists: List[str]
+ channel: int
+ webhook: int
+
+
class Event(Enum):
"""
Event names. This does not include every event (for example, raw