remove ctx comparison check from track __eq__
This commit is contained in:
parent
28db38a00e
commit
4fc9bd8810
|
|
@ -98,9 +98,6 @@ class Track:
|
|||
if not isinstance(other, Track):
|
||||
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
|
||||
|
||||
def __str__(self) -> str:
|
||||
|
|
|
|||
Loading…
Reference in New Issue