Update pyright to 1.1.289

This commit is contained in:
Rapptz
2023-01-16 21:54:57 -05:00
parent bf860b0b07
commit 3ff88db768
7 changed files with 9 additions and 9 deletions

View File

@ -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