From fe7b9b29bd571350cf5b9c7a441d28efb8c2fd1e Mon Sep 17 00:00:00 2001 From: NK Date: Mon, 20 Mar 2023 11:09:57 +0000 Subject: [PATCH] update --- .gitignore | 3 ++- index.js | 6 +++--- package-lock.json | 27 --------------------------- package.json | 3 +-- 4 files changed, 6 insertions(+), 33 deletions(-) delete mode 100644 package-lock.json diff --git a/.gitignore b/.gitignore index 30bc162..572406b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -/node_modules \ No newline at end of file +/node_modules +package-lock.json \ No newline at end of file diff --git a/index.js b/index.js index 7c3af88..210bd7d 100644 --- a/index.js +++ b/index.js @@ -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" }, ], }); diff --git a/package-lock.json b/package-lock.json deleted file mode 100644 index e2c6fc0..0000000 --- a/package-lock.json +++ /dev/null @@ -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==" - } - } -} diff --git a/package.json b/package.json index 781d666..e3351a2 100644 --- a/package.json +++ b/package.json @@ -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" },