diff options
| author | 2020-07-13 15:14:31 +0200 | |
|---|---|---|
| committer | 2020-07-13 15:14:31 +0200 | |
| commit | ab1546611a9952ddb45f211901ad129c2e8c5007 (patch) | |
| tree | 7aaa6a4fc3da0ddb696725b42c44c8ab9098466f | |
| parent | Better docstring for DMRelay cog. (diff) | |
Add avatar_url in python_news.py
https://github.com/python-discord/bot/issues/667
| -rw-r--r-- | bot/cogs/python_news.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bot/cogs/python_news.py b/bot/cogs/python_news.py index 1d8f2aeb0..0ab5738a4 100644 --- a/bot/cogs/python_news.py +++ b/bot/cogs/python_news.py @@ -113,6 +113,7 @@ class PythonNews(Cog): webhook=self.webhook, username=data["feed"]["title"], embed=embed, + avatar_url=AVATAR_URL, wait=True, ) payload["data"]["pep"].append(pep_nr) @@ -189,6 +190,7 @@ class PythonNews(Cog): webhook=self.webhook, username=self.webhook_names[maillist], embed=embed, + avatar_url=AVATAR_URL, wait=True, ) payload["data"][maillist].append(thread_information["thread_id"]) |