1
0
mirror of https://github.com/spacebarchat/spacebarchat.git synced 2024-11-22 10:22:32 +01:00

🐛 update gitignore

This commit is contained in:
Flam3rboy 2021-02-07 11:32:36 +01:00
parent 57174e8879
commit cca9f4d455
7 changed files with 3413 additions and 1562 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
node_modules/

1
rpc/.gitignore vendored
View File

@ -1 +0,0 @@
/node_modules/

View File

@ -26,7 +26,7 @@ async function login() {
console.log("logged in: ", rpc.user.username);
rpc.setActivity({
details: `Working Discord Open Source `,
details: `Working on Discord Open Source`,
state: `Collaboration open`,
startTimestamp,
largeImageKey: "logo2",
@ -36,8 +36,7 @@ async function login() {
{ label: "Discord", url: "https://discord.gg/ZrnGQP6p3d" },
{
label: "Repository",
url:
"https://github.com/discord-open-source/discord-open-source",
url: "https://github.com/discord-open-source/discord-open-source",
},
],
});
@ -45,6 +44,7 @@ async function login() {
rpc.on("disconnected", async () => {
console.log("disconnected");
await rpc.destroy();
await reconnect();
});

4940
rpc/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,15 +1,14 @@
{
"name": "rpc",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"dependencies": {
"discord-rpc": "github:discordjs/rpc",
"pm2": "^4.5.4"
}
"name": "rpc",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"dependencies": {
"discord-rpc": "github:discordjs/rpc"
}
}

1
rpc/start.bat Normal file
View File

@ -0,0 +1 @@
node index.js

View File

@ -65,5 +65,6 @@ IF ERRORLEVEL 0 (
)
:end
ECHO finished installation
@ECHO on
PAUSE