Obtenir le statut de jeu Discord.py

@bot.event
async def on_member_update(prev,cur):       


    games = ["overwatch", "rocket league", "minecraft", "stardew valley"]
    
    print(cur.activity.name.lower())
    if cur.activity and cur.activity.name.lower() in games:
            #do something
Larss_J