mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-05-09 23:39:50 +00:00
Fix utils.MISSING not evaluating to True in implicit bool contexts
This commit is contained in:
parent
3b6a2b9e85
commit
7b8db49efe
@ -83,6 +83,9 @@ class _MissingSentinel:
|
|||||||
def __eq__(self, other):
|
def __eq__(self, other):
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
def __bool__(self):
|
||||||
|
return False
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return '...'
|
return '...'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user