Skip to content

Commit

Permalink
added the recommended changes, made the function names consistent.
Browse files Browse the repository at this point in the history
  • Loading branch information
Yellow-Beans authored Apr 20, 2024
1 parent a1b9f8f commit 155aaca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/getting-started/creating-your-first-bot.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ event that is automatically called when the bot is ready to use.

```py
@bot.slash_command(name="hello", description="Say hello to the bot")
async def say_hello(ctx: discord.ApplicationContext):
async def hello(ctx: discord.ApplicationContext):
await ctx.respond("Hey!")
```

Expand Down

0 comments on commit 155aaca

Please sign in to comment.