- Open ScratchX in your web browser.
- Click Open Extension URL and paste
https://gus.host/discord4scratch/index.js
then click Open. - Visit The Discord Developers Panel and create an application.
- Open that application and click Create a Bot User after adding an avatar and customising the name to your liking.
- Click the click to revial button next to the Token: field and save this for latter. Never share this code with anyone!
- Add a When Green Flag Clicked block, this will start the execution of your program when you click the green flag.
- After that add a create client block. Paste your token from step 5 into this block.
- Now add a login block that will start the connection to discord.
- Simply add on message and attatch whatever you want to use to interpret messages!
import https://gus.host/discord4scratch/index.js into scratchx