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
After sending, you should see something like this pop up:
- 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.
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.