Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down