From 0d86c55d454333516d4d989f4310fbab2ec5e645 Mon Sep 17 00:00:00 2001 From: DA-344 <108473820+DA-344@users.noreply.github.com> Date: Sat, 7 Jun 2025 13:43:58 +0200 Subject: [PATCH] chore: use a truthy check instead of a is not None --- discord/components.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/components.py b/discord/components.py index 407e460b0..99de2c48c 100644 --- a/discord/components.py +++ b/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