mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-06 01:46:08 +00:00
Update pyright version
This commit is contained in:
@ -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