Limit Discord description to 2048 characters
This commit is contained in:
@@ -1198,7 +1198,7 @@ class DISCORD(Notifier):
|
||||
attachment['image'] = {'url': poster_url}
|
||||
|
||||
if self.config['incl_description'] or pretty_metadata.media_type in ('artist', 'album', 'track'):
|
||||
attachment['description'] = description
|
||||
attachment['description'] = description[:2045] + (description[2045:] and '...')
|
||||
|
||||
fields = []
|
||||
if provider_link:
|
||||
|
Reference in New Issue
Block a user