From 7b510fa0081cd15540a0da0b215839d966e5f490 Mon Sep 17 00:00:00 2001 From: ZtereoHYPE <57519662+ZtereoHYPE@users.noreply.github.com> Date: Thu, 1 Sep 2022 12:51:59 +0200 Subject: [PATCH 1/3] change: simplify install instructions --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cc511a0..5f5361e 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ https://discord.com/oauth2/authorize?client_id=CLIENT_ID&scope=bot ``` 6. install the required node modules with the following command: ``` -npm install discord.js@13.1.0 dotenv +npm i ``` 7. run the following command to start the bot (npm must be installed) ``` From 328558850aa0625d9004749b32fa9521db8116d0 Mon Sep 17 00:00:00 2001 From: ZtereoHYPE <57519662+ZtereoHYPE@users.noreply.github.com> Date: Thu, 1 Sep 2022 12:52:11 +0200 Subject: [PATCH 2/3] fix: fix main module name in package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index af8a0cc..3f09414 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "pinboardbot", "version": "0.1.0", "description": "A discord bot that sends messages that you want to pin in a dedicated channel to avoid the pinned-messages limit per text-channel", - "main": "bot.js", + "main": "/src/index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "start": "node ./src/index.js", From a6f8f7c067a8305cd4ed9c2d20e9dc5e7cebc8f6 Mon Sep 17 00:00:00 2001 From: ZtereoHYPE <57519662+ZtereoHYPE@users.noreply.github.com> Date: Thu, 1 Sep 2022 12:54:53 +0200 Subject: [PATCH 3/3] fix: i did a stupid --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 3f09414..a9963cc 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "pinboardbot", "version": "0.1.0", "description": "A discord bot that sends messages that you want to pin in a dedicated channel to avoid the pinned-messages limit per text-channel", - "main": "/src/index.js", + "main": "src/index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "start": "node ./src/index.js",