I used to play a social deduction game on IRC, and this was one method to reveal things without revealing them.... but it was too powerful so was banned sort of.
There is also spyfall (https://boardgamegeek.com/boardgame/166384/spyfall) which is about one person not knowing what everyone else knows and trying to pretend otherwise. Very popular among my friends.
Excellent party/social game. An additional variant we play with is to create an "Oops, All Spies" deck to throw in the random selection. Everyone believing that they are the only one who doesn't know the location inevitably leads to hilarity.
Can you elaborate? Where can we find more about this game?
Sounds like a regular game of mafia or werewolves, which basically just requires someone to run it and some means of communication, whether it be in-person, IRC, forum, or some other chat application (there are more 'formal' versions of it in the form of board games or video games, like town of salem, as well).
Picked up Town of Salem recently. Quite a fun game. Have been pleasantly surprised with a good experience even with random other people most of the time