aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-04-21 08:30:41 +0300
committerGravatar ks129 <[email protected]>2020-04-21 08:30:41 +0300
commit47fc4dbbcb288f5757b85ed1e0a385048b708c34 (patch)
tree126ec908dac9d0bb890a1a484d837b042fa4e770 /tests
parentImplemented maillists news posting, created helper functions + added date check (diff)
`News` Cog improvisations
- Created new helper function `News.get_webhook_and_channel` to will be run in Cog loading and will fetch #python-news channel and webhook. - Fixed `News.send_webhook` when you pass `None` as author, this will not add author. - Replaced individual channel and webhook fetches with `News.webhook` and `News.channel`. - Replaced positional arguments with kwargs in `send_webhook` uses. - Moved maillists syncing from `News.__init__` to `News.post_maillist_news`. - Simplified `News.post_pep_news` already exist checks.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions