Skip to content

Commit

Permalink
First word of the docstring should not be "This"
Browse files Browse the repository at this point in the history
  • Loading branch information
EQUENOS committed Sep 19, 2023
1 parent e86e5cb commit f80dbf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion disnake/ext/commands/interaction_bot_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def _format_diff(diff: _Diff) -> str:
def _match_subcommand_chain(
command: InvokableSlashCommand, chain: List[str]
) -> Union[InvokableSlashCommand, SubCommand, SubCommandGroup, None]:
"""This is an internal function that returns a subcommand with a route matching the chain.
"""An internal function that returns a subcommand with a route matching the chain.
If there's no match then ``None`` is returned.
"""
if command.name != chain[0]:
Expand Down

0 comments on commit f80dbf6

Please sign in to comment.