Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.

Example of how you could keep your messages private to inexperienced people on discord.

License

Notifications You must be signed in to change notification settings

kvba0000/Discord-Voice-Secret-Message

Repository files navigation

🌊 Voice Secret Message

⚠️ TESTED ON WINDOWS 11, BUT SHOULD WORK ON OTHER OS

🛑 I'M NOT ADDING FEATURES FOR THIS PROJECT

As I don't have much time I can't put more features to this project as well as some other ones. I'll try to keep it working as long as it is physically possible though.
Pull requests and Bug reports are welcome!

⚠️ WARNING

THIS SCRIPT IS NOT MEANT TO BE USED FOR MALICIOUS PURPOSES, I AM NOT RESPONSIBLE FOR ANYTHING YOU DO WITH THIS SCRIPT.

❓ What's this?

Voice Secret Mesage is example of a script for Discord that allows you to send messages secretly without inexperienced people to notice it.

❓ How does it work?

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

preview.mp4

▶️ How to use it?

  1. Download/clone the script
  2. Install requirements
npm install
  1. Run the script
node voice [arguments]
  1. Follow the instructions provided by the script

📝 Arguments

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

📝 Configuration

This section is for people who want to configure the script without using script (which is not recommended).

📝 Config.json

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

📝 FAQ

❓ How to get my Discord token?

  1. Open Discord
  2. Press CTRL + SHIFT + I
  3. Go to Network tab
  4. Press F5
  5. Go to Headers tab
  6. Copy value of Authorization

❓ How to get my Discord channel ID?

  1. Enable developer mode in Discord settings
  2. Right click on channel you want to send message to
  3. Click Copy ID

❓ Can I use your project in my project?

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.

📰 Credits

⚠️ Issues

If you have any issues with the script, please create an issue on GitHub.

🧑‍💻 More technical stuff

📝 How is waveform stored?

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)

📝 How is message encoded?

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. ⚠️ Messages encoded with different script versions might not be decoded properly (due to changing obfuscation methods), always remember to check if you have correct version!

About

Example of how you could keep your messages private to inexperienced people on discord.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published