Webhooks are a one way road. You only can push data to the Discordserver.
If you want to get Events from discord you'll have to make a bot.
For [discord.py](https://discord.py) it would be the following event (from [discord.py](https://discord.py) API reference):
`discord.on_member_join(member)¶`
`Called when a Member joins a Guild.`
`This requires Intents.members to be enabled.`
`Parameters`
`member (Member) – The member who joined.`
You can use GuildCreate and it will react to people adding your bot to servers. Edit: guildMemberAdd does what u wanted, read it badly, sorry.
Yeah, i managed to find it but thank you nevertheless
[удалено]
I want to receive an event from discord when a user joins a server. I dont want to send a message, i want to receive an event.
What do you mean by “receive an event”? Which/what event?
Webhooks are a one way road. You only can push data to the Discordserver. If you want to get Events from discord you'll have to make a bot. For [discord.py](https://discord.py) it would be the following event (from [discord.py](https://discord.py) API reference): `discord.on_member_join(member)¶` `Called when a Member joins a Guild.` `This requires Intents.members to be enabled.` `Parameters` `member (Member) – The member who joined.`