From b3c92a6c1522b0e8c90cefa30c3eb7e405053f4e Mon Sep 17 00:00:00 2001 From: Snipy7374 <100313469+Snipy7374@users.noreply.github.com> Date: Sat, 21 Dec 2024 23:22:51 +0100 Subject: [PATCH] Update disnake/subscription.py Co-authored-by: vi <8530778+shiftinv@users.noreply.github.com> Signed-off-by: Snipy7374 <100313469+Snipy7374@users.noreply.github.com> --- disnake/subscription.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/disnake/subscription.py b/disnake/subscription.py index ec471c5299..bf86e1a35a 100644 --- a/disnake/subscription.py +++ b/disnake/subscription.py @@ -120,6 +120,4 @@ def is_canceled(self) -> bool: """:class:`bool`: Whether the subscription was canceled, based on :attr:`canceled_at`. """ - if self.canceled_at is None: - return False - return True + return self.canceled_at is not None