diff --git a/docs/quickstart.rst b/docs/quickstart.rst index 500eb94af..afe7ddf04 100644 --- a/docs/quickstart.rst +++ b/docs/quickstart.rst @@ -208,7 +208,7 @@ Nested commands: subcommands ), ], ) - async def cmd(ctx: interactions.CommandContext, sub_command: str, second_option: str, option: int = None): + async def cmd(ctx: interactions.CommandContext, sub_command: str, second_option: str = "", option: int = None): if sub_command == "command_name": await ctx.send(f"You selected the command_name sub command and put in {option}") elif sub_command == "second_command":