Update pyright to 1.1.289

This commit is contained in:
Rapptz committed 2023-01-16 21:57:54 -05:00
1 parent bf860b0b07
commit 3ff88db768
7 files changed
+9 -9

No files matched your search

+1 -1
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