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) ``` diff --git a/package.json b/package.json index af8a0cc..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": "bot.js", + "main": "src/index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "start": "node ./src/index.js",