Push requested changes.
This commit is contained in:
parent
fbed02dc4d
commit
b8e4d23d44
@ -1226,7 +1226,7 @@ class Command(_BaseCommand, Generic[CogT, P, T]):
|
|||||||
ctx.command = original
|
ctx.command = original
|
||||||
|
|
||||||
def _param_to_options(
|
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]]:
|
) -> List[Optional[ApplicationCommandInteractionDataOption]]:
|
||||||
|
|
||||||
if description is not None:
|
if description is not None:
|
||||||
|
@ -98,8 +98,8 @@ class Flag:
|
|||||||
Whether multiple given values overrides the previous value.
|
Whether multiple given values overrides the previous value.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
name: str = MISSING,
|
name: str = MISSING
|
||||||
description: str = MISSING,
|
description: str = MISSING
|
||||||
aliases: List[str] = field(default_factory=list)
|
aliases: List[str] = field(default_factory=list)
|
||||||
attribute: str = MISSING
|
attribute: str = MISSING
|
||||||
annotation: Any = MISSING
|
annotation: Any = MISSING
|
||||||
|
Loading…
x
Reference in New Issue
Block a user