Push requested changes.

This commit is contained in:
Soheab 2021-10-13 16:17:14 +02:00
parent fbed02dc4d
commit b8e4d23d44
2 changed files with 3 additions and 3 deletions

View File

@ -1226,7 +1226,7 @@ class Command(_BaseCommand, Generic[CogT, P, T]):
ctx.command = original
def _param_to_options(
self, name: str, annotation: Any, required: bool, varadic: bool, description=None
self, name: str, annotation: Any, required: bool, varadic: bool, description: Optional[str] = None
) -> List[Optional[ApplicationCommandInteractionDataOption]]:
if description is not None:

View File

@ -98,8 +98,8 @@ class Flag:
Whether multiple given values overrides the previous value.
"""
name: str = MISSING,
description: str = MISSING,
name: str = MISSING
description: str = MISSING
aliases: List[str] = field(default_factory=list)
attribute: str = MISSING
annotation: Any = MISSING