Local Bot Development Setup
Testing the application using a database on your own machine will require a localhost database setup:
- Create a
.env
in the root directory of the repository. - Inside of the
.env
file, include the following:
DISCORD_BOT_TOKEN="<token>"
MONGO_URI="<uri>"
Replace <uri>
and <discord bot token>
with your MongoDB URI and Discord bot token.
Running The Bot
npm i
npm run dev
Note: You will need MongoDB and Node.js installed (with npm v7) to be able to build and run the bot.