Discord to include avatar_url in .url() call

This commit is contained in:
Chris Caron 2021-12-01 18:50:46 -05:00
parent 54cd566ab8
commit 3831e1bb52

View File

@ -444,6 +444,9 @@ class NotifyDiscord(NotifyBase):
'fields': 'yes' if self.fields else 'no',
}
if self.avatar_url:
params['avatar_url'] = self.avatar_url
# Extend our parameters
params.update(self.url_parameters(privacy=privacy, *args, **kwargs))