Skip to content

Commit

Permalink
Discord to include avatar_url in .url() call
Browse files Browse the repository at this point in the history
  • Loading branch information
caronc committed Dec 1, 2021
1 parent 54cd566 commit 3831e1b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apprise/plugins/NotifyDiscord.py
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,9 @@ def url(self, privacy=False, *args, **kwargs):
'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))

Expand Down

0 comments on commit 3831e1b

Please sign in to comment.