aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py (unfollow)
Commit message (Collapse)AuthorLines
2020-04-20Applied constant changes to NewsGravatar ks129-8/+2
Replaced in-file mail lists with constants.py's, replaced webhook ID getting.
2020-04-20Applied Python News config changesGravatar ks129-2/+8
Removed Webhook and Channel from their listings, created new class `PythonNews` that hold them + mail lists.
2020-04-20Added new category `python_news` to config, that hold mail lists, channel ↵Gravatar ks129-5/+15
and webhook. This use local dev environment IDs.
2020-04-20Created helper function `get_webhook` and added property in `News`Gravatar ks129-1/+8
`News.get_webhook` fetch discord.Webhook by ID provided in config. `self.webhook` use webhook that it got from this function.
2020-04-20Added #python-news channel webhook to `Webhooks` in constantsGravatar ks129-0/+1
2020-04-20Added new dependency `feedparser`Gravatar ks129-48/+58
2020-04-20Added helper function `News.sync_maillists`Gravatar ks129-0/+23
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.
2020-04-20Added `News` cog loadingGravatar ks129-0/+1
2020-04-20Added #python-news channel ID to constants `Channels`Gravatar ks129-0/+1