Browse Source

chore: use a truthy check instead of a is not None

pull/10166/head
DA-344 1 month ago
parent
commit
0d86c55d45
  1. 2
      discord/components.py

2
discord/components.py

@ -1050,7 +1050,7 @@ class MediaGalleryItem:
'spoiler': self.spoiler,
}
if self.description is not None:
if self.description:
payload['description'] = self.description
return payload

Loading…
Cancel
Save