Update pyright version

This commit is contained in:
Josh
2023-07-01 18:26:27 -04:00
committed by GitHub
parent 0871b34fc8
commit 630b2a1e55
17 changed files with 45 additions and 27 deletions
+1 -1
View File
@@ -976,7 +976,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) # type: ignore # Probable pyright bug
ret = await maybe_coroutine(check, interaction)
if not ret:
return False