def METHOD_NAME(evt: Event, var: GameState, dead: set[User], killers):
    # Select a random target for assassin if they didn't target
    pl = set(get_players(var)) - dead
    for ass in get_all_players(var, ("assassin",)):
        if ass not in TARGETED and not is_silent(var, ass):
            ps = list(pl - {ass})
            if ps:
                target = random.choice(ps)
                TARGETED[ass] = target
                ass.send(messages["assassin_random"].format(target))
    PREV_ACTED.update(TARGETED.keys())