├── dont-run.bat ├── run.bat ├── images ├── 1.PNG └── 2.PNG ├── Whitneyfont.woff ├── config.json ├── install.bat ├── package.json ├── README.md ├── LICENSE ├── classic.js ├── nitro.js ├── testingboost.html └── testing.html /dont-run.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | node classic.js 3 | pause -------------------------------------------------------------------------------- /run.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | start dont-run.bat 3 | 4 | node nitro.js 5 | 6 | pause -------------------------------------------------------------------------------- /images/1.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asdasdasd1243/Discord-Nitro-Proof-Bot/HEAD/images/1.PNG -------------------------------------------------------------------------------- /images/2.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asdasdasd1243/Discord-Nitro-Proof-Bot/HEAD/images/2.PNG -------------------------------------------------------------------------------- /Whitneyfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asdasdasd1243/Discord-Nitro-Proof-Bot/HEAD/Whitneyfont.woff -------------------------------------------------------------------------------- /config.json: -------------------------------------------------------------------------------- 1 | { "token" : "NzkxNjQ4MzA4MDA2MjIzODky.X-SN8A.KgGsxSAjeVmwc7NjgScneS3xXDw", 2 | "prefix" : "$" 3 | } 4 | -------------------------------------------------------------------------------- /install.bat: -------------------------------------------------------------------------------- 1 | :top 2 | @echo off 3 | npm i 4 | npm i discord.js 5 | npm i node-html-to-image 6 | npm i puppeteer 7 | npm i mime 8 | npm i fs 9 | npm i path 10 | goto top -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "fake-discord-nitro-generator", 3 | "version": "1.0.0", 4 | "description": "fakes discord nitro sses", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "author": "", 10 | "license": "ISC" 11 | } 12 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Discord-Nitro-Proof-Bot 2 | Sends a picture of "nitro proof" after use of the commands, Can be used in fake nitro servers ect. Commands are (prefix)boost (username) (text) and classic (username) (text) 3 | 4 | Scrapes profile pictures from servers that the bot is in. 5 | 6 | Credits: !! Snowwy#1337 or https://snowwy.wtf 7 | 8 | Put ur bot token in config.json 9 | 10 | Run install.bat then once all the modules are installed run run.bat 11 | 12 | YOU NEED THE NODE.JS https://nodejs.org/en/download/ 13 | 14 |  15 |  16 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2021 Snowwy1337 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /classic.js: -------------------------------------------------------------------------------- 1 | const Discord = require("discord.js"), 2 | client = new Discord.Client(), 3 | nodeHtmlToImage = require("node-html-to-image"), 4 | config = require("./config.json"), 5 | puppeteer = require("puppeteer"), 6 | express = require("express"), 7 | app = express(); 8 | var mime = require("mime"), 9 | fs = require("fs"), 10 | path = require("path"); 11 | const port = 3e3; 12 | async function nitrogenerator(e, t) { 13 | let a = formatAMPM(new Date()); 14 | let n = formatAMPM(new Date(Date.now() - 6e4)), 15 | o = await fs.readFileSync(`${__dirname}/testing.html`, "utf8"); 16 | (datatosend = o), 17 | (datatosend = datatosend.replace( 18 | "FIRSTAUTHORURL", 19 | e.author.displayAvatarURL() 20 | )), 21 | (datatosend = datatosend.replace("THEFIRSTAUTHOR", e.author.username)), 22 | (datatosend = datatosend.replace( 23 | "SECONDAUTHORURL", 24 | client.users.cache.random().displayAvatarURL() 25 | )), 26 | (datatosend = datatosend.replace("THESECONDAUTHOR", t.shift())), 27 | (datatosend = datatosend.replace("RESPONSETONITRO", t.join(" "))), 28 | (datatosend = datatosend.replace("FIRSTAUTHORDATE", "Today at " + n)), 29 | (datatosend = datatosend.replace("SECONDAUTHORDATE", "Today at " + a)), 30 | app.get("/font", function(e, t) { 31 | const a = `${__dirname}/Whitneyfont.woff`; 32 | t.sendFile(a); 33 | }), 34 | app.get("/", function(e, t) { 35 | t.send(datatosend); 36 | }); 37 | let r = app.listen(port, () => { 38 | console.log(`Example app listening at http://localhost:${port}`); 39 | }); 40 | const s = await puppeteer.launch({ 41 | args: ["--no-sandbox", "--disable-setuid-sandbox"] 42 | }), 43 | i = await s.newPage(); 44 | await i.goto(`http://localhost:${port}`), 45 | await i.waitForSelector(".scrollerInner-2YIMLh"); 46 | const d = await i.$(".scrollerInner-2YIMLh"); 47 | let c = await d.screenshot({ type: "png" }); 48 | await s.close(); 49 | const l = new Discord.MessageAttachment(c, "NitroProof.png"); 50 | e.channel.send(`${e.author}`, l), r.close(); 51 | } 52 | function formatAMPM(e) { 53 | var t = e.getHours(), 54 | a = e.getMinutes(), 55 | n = t >= 12 ? "PM" : "AM"; 56 | return (t = (t %= 12) || 12) + ":" + (a = a < 10 ? "0" + a : a) + " " + n; 57 | } 58 | client.on("ready", () => { 59 | function randomStatus() { 60 | let status = [ 61 | "Infinite Codes In Stock", 62 | "Generating Codes", 63 | "Stealing Emojis", 64 | "Invite Me: >invite", 65 | "!! Snowwy#1337 Is My Dad" 66 | ]; // You can change it whatever you want. 67 | let rstatus = Math.floor(Math.random() * status.length); 68 | 69 | // client.user.setActivity(status[rstatus], {type: "WATCHING"}); 70 | // You can change the "WATCHING" into STREAMING, LISTENING, and PLAYING. 71 | // Example: streaming 72 | 73 | client.user.setActivity(status[rstatus], { 74 | type: "PLAYING", 75 | url: "https://www.twitch.tv/snowwy2k" 76 | }); 77 | } 78 | setInterval(randomStatus, 5000); // Time in ms. 30000ms = 30 seconds. Min: 20 seconds, to avoid ratelimit. 79 | 80 | console.log("Online."); 81 | }); 82 | 83 | client.on("message", async e => { 84 | if ("dm" === e.channel.type) return; 85 | if (e.author.bot) return; 86 | if (0 !== e.content.indexOf(config.prefix)) return; 87 | const t = e.content 88 | .slice(config.prefix.length) 89 | .trim() 90 | .split(/ +/g); 91 | "classic" === t.shift().toLowerCase() && (await nitrogenerator(e, t)); 92 | }), 93 | client.login(config.token); 94 | -------------------------------------------------------------------------------- /nitro.js: -------------------------------------------------------------------------------- 1 | const Discord = require("discord.js"), 2 | client = new Discord.Client(), 3 | nodeHtmlToImage = require("node-html-to-image"), 4 | config = require("./config.json"), 5 | puppeteer = require("puppeteer"), 6 | express = require("express"), 7 | app = express(); 8 | var mime = require("mime"), 9 | fs = require("fs"), 10 | path = require("path"); 11 | const port = 3e3; 12 | async function nitrogenerator(e, t) { 13 | let a = formatAMPM(new Date()); 14 | let n = formatAMPM(new Date(Date.now() - 6e4)), 15 | o = await fs.readFileSync(`${__dirname}/testingboost.html`, "utf8"); 16 | (datatosend = o), 17 | (datatosend = datatosend.replace( 18 | "FIRSTAUTHORURL", 19 | e.author.displayAvatarURL() 20 | )), 21 | (datatosend = datatosend.replace("THEFIRSTAUTHOR", e.author.username)), 22 | (datatosend = datatosend.replace( 23 | "SECONDAUTHORURL", 24 | client.users.cache.random().displayAvatarURL() 25 | )), 26 | (datatosend = datatosend.replace("THESECONDAUTHOR", t.shift())), 27 | (datatosend = datatosend.replace("RESPONSETONITRO", t.join(" "))), 28 | (datatosend = datatosend.replace("FIRSTAUTHORDATE", "Today at " + n)), 29 | (datatosend = datatosend.replace("SECONDAUTHORDATE", "Today at " + a)), 30 | app.get("/font", function(e, t) { 31 | const a = `${__dirname}/Whitneyfont.woff`; 32 | t.sendFile(a); 33 | }), 34 | app.get("/", function(e, t) { 35 | t.send(datatosend); 36 | }); 37 | let r = app.listen(port, () => { 38 | console.log(`Example app listening at http://localhost:${port}`); 39 | }); 40 | const s = await puppeteer.launch({ 41 | args: ["--no-sandbox", "--disable-setuid-sandbox"] 42 | }), 43 | i = await s.newPage(); 44 | await i.goto(`http://localhost:${port}`), 45 | await i.waitForSelector(".scrollerInner-2YIMLh"); 46 | const d = await i.$(".scrollerInner-2YIMLh"); 47 | let c = await d.screenshot({ type: "png" }); 48 | await s.close(); 49 | const l = new Discord.MessageAttachment(c, "NitroProof.png"); 50 | e.channel.send(`${e.author}`, l), r.close(); 51 | } 52 | function formatAMPM(e) { 53 | var t = e.getHours(), 54 | a = e.getMinutes(), 55 | n = t >= 12 ? "PM" : "AM"; 56 | return (t = (t %= 12) || 12) + ":" + (a = a < 10 ? "0" + a : a) + " " + n; 57 | } 58 | client.on("ready", () => { 59 | function randomStatus() { 60 | let status = [ 61 | "Infinite Codes In Stock", 62 | "Generating Codes", 63 | "Stealing Emojis", 64 | "Invite Me: >invite", 65 | "!! Snowwy#1337 Is My Dad" 66 | ]; // You can change it whatever you want. 67 | let rstatus = Math.floor(Math.random() * status.length); 68 | 69 | // client.user.setActivity(status[rstatus], {type: "WATCHING"}); 70 | // You can change the "WATCHING" into STREAMING, LISTENING, and PLAYING. 71 | // Example: streaming 72 | 73 | client.user.setActivity(status[rstatus], { 74 | type: "PLAYING", 75 | url: "https://www.twitch.tv/snowwy2k" 76 | }); 77 | } 78 | setInterval(randomStatus, 5000); // Time in ms. 30000ms = 30 seconds. Min: 20 seconds, to avoid ratelimit. 79 | 80 | console.log("Online."); 81 | }); 82 | 83 | client.on("message", async e => { 84 | if ("dm" === e.channel.type) return; 85 | if (e.author.bot) return; 86 | if (0 !== e.content.indexOf(config.prefix)) return; 87 | const t = e.content 88 | .slice(config.prefix.length) 89 | .trim() 90 | .split(/ +/g); 91 | "boost" === t.shift().toLowerCase() && (await nitrogenerator(e, t)); 92 | }), 93 | client.login(config.token); 94 | -------------------------------------------------------------------------------- /testingboost.html: -------------------------------------------------------------------------------- 1 |