Before you complain that you don't want your voice being recorded:
Mimesis, Zort, Lethal company mod all do it by recording your voice locally and storing them on your PC -> repeating them context wise for all players in the match
Context Wise: To implement this you need to track what was said at what time -> you find a bandage and say "a bandage" > the mimics say that when they find a bandage too
Basically the game tracks position, behavior, movement and links it to your recorded voice line
If the devs don't have time to make it context wise they could also make it random
