на мероприятии «Уйти» в Discord.py

@client.event
async def on_member_leave(member):
    print("member has left a server.")
Energetic Eel