This is a little script I wrote that sets your discord avatar to @Archillects tweets.
Yes, selfbots are officially banned. However, you can see my stance on the topic here.
Run the install.bat file and it'll set up everything for you.
Open a terminal window within the scripts directory and run the following command: npm i
This should install the script's dependencies.
- Open the Discord application
- Hit
CTRL+SHIFT+I
(CMD+ALT+I
on macOS) to bring up the Developers Console
If you already see the
Application
tab, you can skip step 2
- At the top, click on the arrow pointing to the right
- Click
Application
- Go to
Local Storage
under theStorage
section - Click on
https://discordapp.com
- At the bottom of the list, the last key should be
token
- Copy the value on the right side (omitting the quotes)
- Go to the twitter apps page.
- Click the Create New App button.
- Fill in the details, call it whatever you wish. You can leave out Callback URL.
The URL can be made up, doesn't have to be real.
- Accept the dev agreement and click Create your Twitter Application
- Now your twitter app should be complete, head over to the
Keys and Access Tokens
tab. - Your consumer keys should be already generated. You now need to add your account to the app. Click
Create my access token
under Your Access Token. - You should now have 4 entrys of random numbers on your screen. These will need to go in your (config) cfg.json
- Copy and paste the cfg.json.example file in the root directory.
- Rename it to
cfg.json
. - Open the file and you should see 5 blank entries. Your Discord token and Twitter API keys have to go in here.
- Make sure not to remove the quotation marks from either side, once your done, save the file.
Once you have your cfg.json set up, its time to run the script.
Hit run.bat and off you go!
Open up a terminal window in the directory and you can use either of the following commands
npm start
or
node index.js
Both will achieve the same thing.