@client.event
async def on_member_join(member):
guild = client.get_guild(321321321)
channel = guild.get_channel(123123123)
embed = discord.Embed(title="Добро пожаловать!", description=f"На наш сервер залетел {member.mention}!",
color=0xCC974F)
embed.set_thumbnail(url=member.avatar_url)
await channel.send(embed=embed)