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)
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.
@IMayBeMe ok thanks!