Fix small typing issue

This commit is contained in:
Gnome 2021-10-29 14:06:44 +01:00
parent eef8c07379
commit babbb22462
No known key found for this signature in database
GPG Key ID: 9BF10F8372B254D1

View File

@ -1052,10 +1052,7 @@ class Option(Generic[T, DT]): # type: ignore
self.name: str = name
if TYPE_CHECKING:
# Terrible workaround for type checking reasons
def Option(default: T = inspect.Parameter.empty, *, description: str, name: str = discord.utils.MISSING) -> T:
...
Option: Any
def _convert_to_bool(argument: str) -> bool: