How does pinging work?
CodingEssence

This question randomly came to me, but how does the pinging system work in replit? (Not that I'm trying to steal your idea, I don't do JS)

You are viewing a single comment. View All
Answered by Coder100 [earned 5 cycles]
View Answer
IMayBeMe

Pinging works almost identically to messaging. Each user should have a database key and when the code detects an @ it takes the target username and puts a notification under that database key.

CodingEssence

@IMayBeMe ok thanks!