mirror of
https://github.com/spacebarchat/spacebarchat.git
synced 2024-11-22 02:12:30 +01:00
🐛 update gitignore
This commit is contained in:
parent
57174e8879
commit
cca9f4d455
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
node_modules/
|
1
rpc/.gitignore
vendored
1
rpc/.gitignore
vendored
@ -1 +0,0 @@
|
||||
/node_modules/
|
@ -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
4940
rpc/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -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
1
rpc/start.bat
Normal file
@ -0,0 +1 @@
|
||||
node index.js
|
@ -65,5 +65,6 @@ IF ERRORLEVEL 0 (
|
||||
)
|
||||
|
||||
:end
|
||||
ECHO finished installation
|
||||
@ECHO on
|
||||
PAUSE
|
||||
|
Loading…
Reference in New Issue
Block a user