Skip to content

Commit

Permalink
Update disnake/subscription.py
Browse files Browse the repository at this point in the history
Co-authored-by: vi <[email protected]>
Signed-off-by: Snipy7374 <[email protected]>
  • Loading branch information
Snipy7374 and shiftinv authored Dec 21, 2024
1 parent d4e92a1 commit b3c92a6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions disnake/subscription.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit b3c92a6

Please sign in to comment.