remove ctx comparison check from track __eq__

This commit is contained in:
cloudwithax 2023-05-08 10:41:47 -04:00
parent 28db38a00e
commit 4fc9bd8810
No known key found for this signature in database
GPG Key ID: 5DBE54E45794983E
1 changed files with 0 additions and 3 deletions

View File

@ -98,9 +98,6 @@ class Track:
if not isinstance(other, Track): if not isinstance(other, Track):
return False return False
if self.ctx and other.ctx:
return other.track_id == self.track_id and other.ctx.message.id == self.ctx.message.id
return other.track_id == self.track_id return other.track_id == self.track_id
def __str__(self) -> str: def __str__(self) -> str: