This is a project in the making to help protect Discord-Client users' anonymity by filtering messages that may reveal personal details about them they do not wish to share.
When such information is found, the application suspends and closes the Discord Client.
This is suboptimal, but as long as the address that contains the single representation of the chat message that is not used for display/other purposes, but for storage, is found, there aren't many better options.
You can configure 'forbidden strings' i.e. words (or phrases) in the file forbidden_strings.txt. This file has to be in the same directory as the application.
When one such forbidden string is a substring of the chat message that the user is currently typing in the Discord Client, the aforementioned action of closing the Client is taken.
Currently, this project uses the memory address whose access-signature looks like this (found at Discord.exe+06D636E8->28->1AC->8C->0):
#1:
0200703C - movzx eax,word ptr [edx+edi2]
02007040 - cmp ax,[ecx+edi2] <<<
02007044 - jne 020070A2
02007046 - inc edi
#2:
02C05482 - movzx edx,word ptr [ebx+ecx2]
02C05486 - mov [eax+ecx2],dx <<
02C0548A - mov edx,edi
02C0548C - add ecx,01
Discord has stopped working for me for a long time so the above offsets are almost certainly not going to work anymore!