Skip to content

Commit a35f6a0

Browse files
authored
docs: fix typo in commands example (#520)
Signed-off-by: Wiktor Domaradzki <[email protected]>
1 parent fb8817d commit a35f6a0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/getting-started/quickstart.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ Before running the code below, there are just a couple more steps we need to tak
155155
156156
@commands.command()
157157
async def hi(self, ctx: commands.Context) -> None:
158-
"""Command that replys to the invoker with Hi <name>!
158+
"""Command that replies to the invoker with Hi <name>!
159159
160160
!hi
161161
"""

examples/basic_bot/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ async def event_oauth_authorized(self, payload: authentication.UserTokenPayload)
5757
class GeneralCommands(commands.Component):
5858
@commands.command()
5959
async def hi(self, ctx: commands.Context[Bot]) -> None:
60-
"""Command that replys to the invoker with Hi <name>!
60+
"""Command that replies to the invoker with Hi <name>!
6161
6262
!hi
6363
"""

0 commit comments

Comments
 (0)