How to make a system to send feedback, bug reports to the main user?

I remember having found in some games system that said to report a bug / feedback through a gui, with what I know of scripts I still don’t understand how it is done. Any way to do that? (I just want to know out of curiosity).

I believe this would be done via Discord Webhooks. Please post in the correct categories though.