├── keep_alive.js ├── index.js ├── package.json └── README.md /keep_alive.js: -------------------------------------------------------------------------------- 1 | var http = require('http'); 2 | 3 | http.createServer(function (req, res) { 4 | res.write("I'm alive"); 5 | res.end(); 6 | }).listen(8080); 7 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | const Eris = require("eris"); 2 | const keep_alive = require('./keep_alive.js') 3 | 4 | // Replace TOKEN with your bot account's token 5 | const bot = new Eris(process.env.token); 6 | 7 | bot.on("error", (err) => { 8 | console.error(err); // or your preferred logger 9 | }); 10 | 11 | bot.connect(); // Get the bot to connect to Discord 12 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "discord-online-forever-main", 3 | "version": "1.0.0", 4 | "description": "Keep ypou Discord profile online forever", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "author": "", 10 | "license": "ISC", 11 | "dependencies": { 12 | "eris": "^0.17.2" 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Discord-Online-Forever 2 | Keep ypou Discord profile online forever 3 | 4 | 1. Register Replit - https://Replit.com 5 | 2. Run on Replit - https://replit.com/new/github/Gunthersuper/Discord-Online-Forever 6 | 3. Get Token of your Discord: 7 | - Login to your Discord in the browser 8 | - Press: CTRL+SHITT+I or F12. Go to Network. Click some dialogue or some server 9 | - Find sciense. Go to Headers. In request headers find: authorization. Copy this token 10 | 4. Go to replit, secrets. make new secret. Key is token, and value is your token 11 | 5. Run the bot 12 | 6. Go to https://uptimerobot.com, register. Click: Add new moinitor 13 | 7. Monitor type is HTTP. Url is address you get on replit. Click create monitor (2 times) 14 | 8. Make sure the last session you was online 15 | --------------------------------------------------------------------------------