mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-06 09:56:09 +00:00
Fix some type-check errors
This commit is contained in:
@ -59,7 +59,7 @@ class flag_value:
|
||||
return self
|
||||
return instance._has_flag(self.flag)
|
||||
|
||||
def __set__(self, instance: BF, value: bool) -> None:
|
||||
def __set__(self, instance: BaseFlags, value: bool) -> None:
|
||||
instance._set_flag(self.flag, value)
|
||||
|
||||
def __repr__(self):
|
||||
|
Reference in New Issue
Block a user