-
Notifications
You must be signed in to change notification settings - Fork 0
Manual Heading Masking
A 'header mask' in this project refers to the headers that make your discord requests look like they come from a regular discord client. This guide will show you how you can manually set your header mask.
First off, you must disable auto loading the header mask. Simply set HM_AUTO to one of the false values.
Now, open dev tools on discord (ctrl/cmd + shift + i), and open the network tab. Make sure that in the top left there is a red circle, and scroll up in any channel. Once you have scrolled up, you should see a bunch of lines appear. Click on one that starts with messages?. Click the headers tab, and scroll until you see Request Headers. Now we will map these headers to config values. Simply copy paste the value from the header to the config value, from this table:
| Config/Env | Header |
|---|---|
| HM_USER_AGENT | user-agent |
| HM_LOCALE | accept-language |
| HM_SUPER_PROPS | x-super-properties |
Eg. for HM_USER_AGENT, it can be Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) discord/0.0.132 Chrome/91.0.4472.164 Electron/13.6.6 Safari/537.36
Discord Chat Exporter or the developers behind it are not liable for any damage done, including but not limited to discord account bans, the destruction of relations, or god's wrath.