mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-06 09:56:09 +00:00
Update pyright to 1.1.289
This commit is contained in:
@ -1010,7 +1010,7 @@ class Command(Generic[GroupT, P, T]):
|
||||
if self.binding is not None:
|
||||
check: Optional[Check] = getattr(self.binding, 'interaction_check', None)
|
||||
if check:
|
||||
ret = await maybe_coroutine(check, interaction)
|
||||
ret = await maybe_coroutine(check, interaction) # type: ignore # Probable pyright bug
|
||||
if not ret:
|
||||
return False
|
||||
|
||||
|
Reference in New Issue
Block a user