Detect and remove Ethereum spam
Detect and remove Ethereum spam. Once detected, will hellban the user and remove all messages in the room they sent the spam too.
It looks for hex crypto addresses sent on all by themself. Ex.
0x352EE597BC9C551497B3686eA3403cA53d105524
This base code was revived Ethereum detection code used for our technical interview, https://gitlab.com/MadLittleMods/webapp/-/merge_requests/5 (also see https://gitlab.com/viktomas/webapp/-/merge_requests/1)
For reference, we only apply spam detection to new users (<14 days old).
Edited by Eric Eastwood