A basic script for sending messages as requests, with an authorisation token and channel ID(s) as input
-
Navigate to the directory in which you have saved/cloned this project.
cd [path]
-
Install Dependencies:
pip install -r requirements.txt
or
pip install requests
-
Run the Script:
python main.py
- Go to discord.com and sign in
- Go to any channel and open the network tab by pressing F12
- Then make sure that network activity is being recorded.
- Send a message in the channel you are in
![](https://private-user-images.githubusercontent.com/83806444/298202156-5907ecdf-a57d-447e-ad2b-545df4c81d4c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA0NjQ1NjAsIm5iZiI6MTcyMDQ2NDI2MCwicGF0aCI6Ii84MzgwNjQ0NC8yOTgyMDIxNTYtNTkwN2VjZGYtYTU3ZC00NDdlLWFkMmItNTQ1ZGY0YzgxZDRjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA4VDE4NDQyMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWUyZWQyNjA4ODExY2VjZGI1Njk3ZDhhMTc2NDAwNmZkN2EwMjk1ODFjMWVkMjY3ZGJjZDJmMjNiYjk0MGYyZGMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.BG-7znRLFB2C6eJVq5fIa1boqCZrT0YClWbucFEfW3Y)
After sending, you should see something like this pop up:
![](https://private-user-images.githubusercontent.com/83806444/298202412-38dcae66-923b-4d0c-831a-79939ffad4cd.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA0NjQ1NjAsIm5iZiI6MTcyMDQ2NDI2MCwicGF0aCI6Ii84MzgwNjQ0NC8yOTgyMDI0MTItMzhkY2FlNjYtOTIzYi00ZDBjLTgzMWEtNzk5MzlmZmFkNGNkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA4VDE4NDQyMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTU4MDc5OGIxZWU1YzI4YjIzZDM5YTc2OTExOTBlMTQ0YzdmYTgxNzFkYTAxMmM2YzY3YjNkMTQzODA2ZWU3NWImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.JvKVq6AX2HNda4KaS-XdzDDndLR0k2Op7SSKduMfIqY)
- Copy it as shown
- Go to the directory where you saved/cloned this project, you should see a src folder, if you don't see a folder run the program, it should create one
- in the src folder, create a txt file with the name you want to use.
- if it looks like this, you have done everything right.
![](https://private-user-images.githubusercontent.com/83806444/298203817-05d2e226-ef9e-4fdf-96a9-101288df99d1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA0NjQ1NjAsIm5iZiI6MTcyMDQ2NDI2MCwicGF0aCI6Ii84MzgwNjQ0NC8yOTgyMDM4MTctMDVkMmUyMjYtZWY5ZS00ZmRmLTk2YTktMTAxMjg4ZGY5OWQxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA4VDE4NDQyMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWZjYzA2OWY5ZWMyNTRiODE2OTUyM2NmZTlhZTkzZTY3ZmJmNWNlMWFlODFlMzY1YmU4MDI3YTIxOWEzNjdmODgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.GtncNq6YCkFEhaQz7fsEFLODwEbh3TAqZMqaOdBWTtE)
If you have a more user friendly idea for adding accounts feel free to contribute.
- This script should only be used for educational purposes.
- Please respect Discord's terms of service.
- Ensure that you have the necessary dependencies installed before running the script.
Feel free to customize the headings, formatting, or any additional information based on your specific project needs.