@anslembrath Blocks 1, 34 and 37 are unnecessary. You can remove them. Other than that your current logic is correct. I don't fully understand whay you need exactly.
You can get the Discord API documentation to see how to use their GET and POST methods, then use the MQL4/MQL5 native function WebRequest() to create POST or GET method, and interact with the API with this functions on a Custom MQL function block.