THIS SCRIPT IS NOT MEANT TO BE USED FOR MALICIOUS PURPOSES, I AM NOT RESPONSIBLE FOR ANYTHING YOU DO WITH THIS SCRIPT.
Voice Secret Mesage is example of a script for Discord that allows you to send messages secretly without inexperienced people to notice it.
It uses new feature on discord called Voice Messages, basically what it does is sends audio file that works as voice message (file.mp3) to discord servers and then sends message with this voice message, the catch is - the WAVEFORM you send is actually modified. Instead of sending audio's waveform it sends one with secret message encoded to format that discord can understand.
preview.mp4
- Download/clone the script
- Install requirements
npm install
- Run the script
node voice [arguments]
- Follow the instructions provided by the script
Argument | Subargument | Description | Example | Required |
---|---|---|---|---|
-start | Starts the script, if no argument below provided, script will ask you in fly. (defaults to encode mode) | -start |
||
--channelID | ID of a channel you want to send message to (ommited in decode mode) | -start --channelID 123456789 |
❌ | |
--message | Message you want to send (ommited in decode mode) | -start --message Hello World |
❌ | |
--decode | Turns on decode mode, stays in encode mode if didn't provide required arguments | -start --decode [args] |
❌ | |
--link | Link of a voice message you want to decode | -start --decode --link https://discord.com/channels/123456789/123456789/123456789 |
(only in decode mode) | |
-config | Starts configuration script | -config |
This section is for people who want to configure the script without using script (which is not recommended).
Key | Description | Example | Default |
---|---|---|---|
token | Discord token you'll use to send message USE ONLY YOUR TOKEN | "token": "xxxxxxx" | |
audioLengthSeconds | Length of audio you'll send (seconds) MIN: 0, MAX: 2147483647 | "audioLengthSeconds": 5 | 5 |
- Open Discord
- Press CTRL + SHIFT + I
- Go to Network tab
- Press F5
- Go to Headers tab
- Copy value of Authorization
- Enable developer mode in Discord settings
- Right click on channel you want to send message to
- Click Copy ID
Yes, you can use this project in your bot/project, but you have to credit me and link to this repository. It would mean a lot to me.
If you have any issues with the script, please create an issue on GitHub.
Waveform is just a base64 encoded hex which includes how high and low the sound is at certain time. This way I can put any data I want into it and it will be sent as a voice message's waveform. (I'm not going to explain how I did it, because it's not that important, but if you want to know, you can ask me on dm's, links are on my profile)
To make message less obvious I encoded message the way the waveform is stored but at the beginning and ending of it I put random data, message itself before being turn into base64 is hex reversed which makes every bit of data moved to the respecive place at the end, example: 00 11 22
turns into 22 11 00
, I'm planning to add more encodings/obfuscation in the future.