Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Manual Heading Masking

ShadiestGoat edited this page Jan 20, 2022 · 1 revision

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

Clone this wiki locally