This commit is contained in:
NK 2023-03-20 11:09:57 +00:00
parent 1d03c3f48f
commit fe7b9b29bd
4 changed files with 6 additions and 33 deletions

1
.gitignore vendored
View file

@ -1 +1,2 @@
/node_modules
package-lock.json

View file

@ -5,15 +5,15 @@ const rpc = new Client({
rpc.on("ready", () => {
rpc.setActivity({
details: "🔥Working on cath.exe",
state: "Subscribe to me below!",
details: "Lilase",
state: "Subscribe to my YouTube",
startTimestamp: new Date(),
largeImageKey: "night",
largeImageText: "Night",
smallImageKey: "kaly",
smallImageText: "cath.exe",
buttons: [
{ label: "💭Website💭", url: "https://cath.gq/" },
{ label: "💭Website💭", url: "https://night0721.me/" },
{ label: "🌌YouTube🌌", url: "https://youtube.com/c/Kirito01" },
],
});

27
package-lock.json generated
View file

@ -1,27 +0,0 @@
{
"name": "RPC-Night",
"version": "1.0.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
"discord-rpc": {
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/discord-rpc/-/discord-rpc-3.2.0.tgz",
"integrity": "sha512-KJv0EVbGMlr04HoG6f5b3wD7X9kSHzQ2Ed2qfHSDvYJ1MkE8RbCQmMcQQrSvAxpfsqZgUjB/bsfi/mjyicCH+A==",
"requires": {
"node-fetch": "^2.6.1",
"ws": "^7.3.1"
}
},
"node-fetch": {
"version": "2.6.1",
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
"integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw=="
},
"ws": {
"version": "7.4.6",
"resolved": "https://registry.npmjs.org/ws/-/ws-7.4.6.tgz",
"integrity": "sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A=="
}
}
}

View file

@ -4,9 +4,8 @@
"description": "Discord Rich Presence",
"main": "index.js",
"dependencies": {
"discord-rpc": "^3.2.0"
"discord-rpc": "^4.0.1"
},
"devDependencies": {},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},