I will be showing you how to act like you are streaming on discord.js when you are not
you will need any version of node.js above 6.* installed by Clicking here
I have v6.9.2 LTS installed
now open up node.js console or cmd (if you checked the option to add node.js to path if not then run node.js console) and type in npm install discord.js
you should see npm in the title of the cmd box thing like this then you know you are doing it right
Ignore any errors or warnings you get that's just saying some other modules discord.js use is not installed or if you want to use them it wont work unless you have them installed
now we got node.js installed and the discord.js module installed now we move onto getting are token for are account (MAKE SURE YOU DON'T SHARE THIS WITH ANYONE THEY CAN DESTROY ANY SERVER YOU OWN OR MESS UP YOUR ACCOUNT)
on the desktop client of discord or chrome open console up by CTRL+shift+i and click on console like this and type in localStorage.token and you should get your token
make sure you copy the token that is inside the double qoutes
save this script to your desktop as something like this discord.js replace the text which says MY TOKEN HERE with your token and the text that says change me to any text you want to what you want the viewer will see
now to run the scrip just do node discord.js if you get anything else other than this post the error here and I will look at it and try to help you out
you will need any version of node.js above 6.* installed by Clicking here
I have v6.9.2 LTS installed
now open up node.js console or cmd (if you checked the option to add node.js to path if not then run node.js console) and type in npm install discord.js
you should see npm in the title of the cmd box thing like this then you know you are doing it right
Ignore any errors or warnings you get that's just saying some other modules discord.js use is not installed or if you want to use them it wont work unless you have them installed
now we got node.js installed and the discord.js module installed now we move onto getting are token for are account (MAKE SURE YOU DON'T SHARE THIS WITH ANYONE THEY CAN DESTROY ANY SERVER YOU OWN OR MESS UP YOUR ACCOUNT)
on the desktop client of discord or chrome open console up by CTRL+shift+i and click on console like this and type in localStorage.token and you should get your token
make sure you copy the token that is inside the double qoutes
save this script to your desktop as something like this discord.js replace the text which says MY TOKEN HERE with your token and the text that says change me to any text you want to what you want the viewer will see
PHP Code:
var Discord = require("discord.js");
var bot = new Discord.Client();
bot.on("ready", () => {
console.log("You are connected to " + bot.guilds.size + " servers!");
bot.user.setGame("change me to any text you want", "https://www.twitch.tv/monstercat")
});
bot.login('MY TOKEN HERE');
now to run the scrip just do node discord.js if you get anything else other than this post the error here and I will look at it and try to help you out