| Commit message (Collapse) | Author | Lines |
|
|
|
|
|
Function fetch display names of these mail lists, that bot will post. These names will be used on Webhook author names. `News.webhook_names` storage these name and display name pairs.
|
|
- Created task `post_pep_news` that pull existing news message IDs from API, do checks and send new PEP when it's not already sent.
- Removed `get_webhook`
- Removed `self.webhook`
|
|
Replaced in-file mail lists with constants.py's, replaced webhook ID getting.
|
|
Removed Webhook and Channel from their listings, created new class `PythonNews` that hold them + mail lists.
|
|
and webhook.
This use local dev environment IDs.
|
|
`News.get_webhook` fetch discord.Webhook by ID provided in config. `self.webhook` use webhook that it got from this function.
|
|
|
|
|
|
Function sync maillists listing with API, that hold IDs of message that have news. PEPs handling is over RSS, so this will added manually in this function.
|
|
|
|
|