From 54e03819e15f6b514a38e3d3ee074302167136c0 Mon Sep 17 00:00:00 2001 From: igna Date: Sat, 27 Nov 2021 23:26:32 -0300 Subject: [PATCH] done --- index.js | 14 ++++++++++++++ package.json | 23 +++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 index.js create mode 100644 package.json diff --git a/index.js b/index.js new file mode 100644 index 0000000..9fe14bb --- /dev/null +++ b/index.js @@ -0,0 +1,14 @@ +const Discord = require("discord.js"); +require("dotenv").config(); + +const client = new Discord.Client({ + _tokenType: "", + ws: { properties: { $browser: "Discord iOS" } }, +}); + +client.on("ready", () => { + console.clear(); + console.log(`user: ${client.user.tag}\nWebsocket sent!`); +}); + +client.login(process.env.TOKEN); // make a .env file with your token like TOKEN=yourtokenhere \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 0000000..1a524d3 --- /dev/null +++ b/package.json @@ -0,0 +1,23 @@ +{ + "name": "discord-phone", + "version": "2.0.0", + "description": "Spoof your discord presence and set phone!", + "main": "index.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/uhIgnacio/discord-phone.git" + }, + "author": "igna#0911", + "license": "UNLICENSED", + "bugs": { + "url": "https://github.com/uhIgnacio/discord-phone/issues" + }, + "homepage": "https://github.com/uhIgnacio/discord-phone#readme", + "dependencies": { + "discord.js": "^12.5.3", + "dotenv": "^10.0.0" + } +}