#Install package using npm init discord-package-npm
.
- Call
index.js
in your main File; - Add Crenditals to the File;
const MainFile = require("Discord-Package-npm");
const Crenditals = {
token: "YOUR_BOT_TOKEN",
mongo: "YOUR_MONGODB_CONNECTION_URL"
}
MainFile(Crenditals);
- This will do everything;
- Now you can go ahead and Install other packages as per your needs.