diff --git a/.gitignore b/.gitignore index 0555ee5..71b87bc 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ node_modules package-lock.json test.js docs/ +.npmrc .replit \ No newline at end of file diff --git a/.npmrc b/.npmrc deleted file mode 100644 index 00da11c..0000000 --- a/.npmrc +++ /dev/null @@ -1 +0,0 @@ -registry=https://npm.pkg.github.com/@Lebyy diff --git a/README.md b/README.md index ef3c95f..82ca4f6 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ - A lightweight and easy to use messages framework for discord bots, uses MongoDB. - If you need help feel free to join our discord server to talk and help you with your code. - If you encounter any of those fell free to open an issue in our github repository. +- TypeScript supported! # Download & Update You can download it from npm: @@ -19,7 +20,7 @@ npm update discord-messages # Setting Up First things first, we include the module into the project. ```js -const Messages = require("discord-xp"); +const Messages = require("discord-messages"); ``` After that, you need to provide a valid mongo database url, and set it. You can do so by: ```js diff --git a/package.json b/package.json index c8a2378..b11dbf3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "discord-messages", - "version": "1.0.0", + "version": "1.0.1", "description": "A lightweight and easy to use message tracking framework for discord bots, uses MongoDB.", "main": "index.js", "dependencies": { @@ -11,9 +11,6 @@ "type": "git", "url": "git+https://github.com/Lebyy/discord-messages.git" }, - "publishConfig": { - "registry":"https://npm.pkg.github.com/Lebyy" - }, "keywords": [ "discord", "economy",