mirror of
https://github.com/uhIgnacio/discord-phone.git
synced 2024-08-14 23:02:43 +00:00
done
This commit is contained in:
parent
47749f63fa
commit
54e03819e1
2 changed files with 37 additions and 0 deletions
14
index.js
Normal file
14
index.js
Normal file
|
@ -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
|
23
package.json
Normal file
23
package.json
Normal file
|
@ -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"
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue