by bess
A small node.js app to set your Discord Streaming Status.
Easily clone from glitch.com with remix.
Full instructions can be found to install can be found on dayzoon's youtube channel.
Updates to your code will instantly deploy and update live after setup.
To keep alive without keeping a glitch.com tab open, try uptimerobot.com.
Find out more about distatus.
Create Glitch.com Account
- Go to glitch.com
- Create New Project
- Select "hello-express" Project
Get Code (Option 1)
- Click here to remix from glitch: Remix.
Get Code (Option 2)
- Head to github.
- Copy the code in the file.
Add Required Packages
- Open the package.json file
- Hit "Add Package"
- Add "discord.js" package
- Add "discord" package
Retrieve Discord Login Token
- Start Discord app and press ctrl+shift+I
- Navigate to the Application Tab
- On the left hand pane, navigate to Local Storage > DiscordApp.com
- Scroll all the way down the main pane
- Restart discord (ctrl+R).
- As Discord starts a "token" key will apear below the "user_id_cache" key.
- Copy the "token" key while discord is restarting.
- Paste token into process.env.SECRET in .env file on glitch.com. (Don't include quotes.)
Change Streaming Text
- Open your server.js file
- Go to line 9 (server.js:9:25).
- Replace
distatus
inclient.user.setActivity('distatus', {
with requested status. - ???????
- Profit.
Keep Alive with UptimeRobot
- Open uptimerobot.com and create an account.
- Hit "Add New Monitor"
- Monitor Type: HTTP(s)
- Friendly Name: Distatus
- URL: https://glitch.com/~distatus (insert your own glitch link here)
- Monitoring Interval: Every 5 Minutes
- Voila~ You can close your glitch.com tab!!
- express
- discord.js
- discord
(•̀ᴗ•́)و ̑̑