aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2020-07-13 15:14:31 +0200
committerGravatar Leon Sandøy <[email protected]>2020-07-13 15:14:31 +0200
commitab1546611a9952ddb45f211901ad129c2e8c5007 (patch)
tree7aaa6a4fc3da0ddb696725b42c44c8ab9098466f
parentBetter 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.py2
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"])