mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Update pyright version
This commit is contained in:
17 files changed
+45
-27
No files matched your search
@@ -197,7 +197,7 @@ class Parameter(inspect.Parameter):
|
||||
"""
|
||||
# pre-condition: required is False
|
||||
if callable(self.default):
|
||||
return await maybe_coroutine(self.default, ctx) # type: ignore
|
||||
return await maybe_coroutine(self.default, ctx)
|
||||
return self.default
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user