Skip to content

Commit 49f3071

Browse files
authored
fix: 404/outdated links (#328)
1 parent 0c5c0f1 commit 49f3071

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/getting-started/more-features.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ First, you need to ask Discord to send you events. This is done via "Intents". R
2727

2828
Once you understand what intents are, you can enable the events you need, or just use the default ones with `discord.Intents.all()`.
2929

30-
Now that that's done, let's add an event handler for when a user joins the server. We will use the [`on_member_join` event](https://docs.pycord.dev/en/stable/api.html#discord.on_member_join). We will send a private message to the user welcoming them to the server.
30+
Now that that's done, let's add an event handler for when a user joins the server. We will use the [`on_member_join` event](https://docs.pycord.dev/en/stable/api/events.html#discord.on_member_join). We will send a private message to the user welcoming them to the server.
3131

3232
```python
3333
@bot.event
@@ -37,9 +37,9 @@ async def on_member_join(member):
3737
)
3838
```
3939

40-
We use the [`discord.Bot.event` decorator](https://docs.pycord.dev/en/stable/api.html#discord.Bot.event) to add the event handler.
40+
We use the [`discord.Bot.event` decorator](https://docs.pycord.dev/en/stable/api/clients.html#discord.Bot.event) to add the event handler.
4141

42-
The `on_member_join` event is called when a user joins the server. The `member` parameter is the user that joined. Different events have different names and parameters. You can find all of them [here](https://docs.pycord.dev/en/stable/api.html#discord.Intents).
42+
The `on_member_join` event is called when a user joins the server. The `member` parameter is the user that joined. Different events have different names and parameters. You can find all of them [here](https://docs.pycord.dev/en/stable/api/data_classes.html#discord.Intents).
4343

4444
So, that's how you add event handlers!
4545

0 commit comments

Comments
 (0)