A bug tracking bot created to assist developers.
Create a local copy of the project
git clone https://github.com/Archasion/bug-tracker.git
Navigate to the local project folder
cd bug-tracker
Install the dependencies
npm i
Follow the instructions in .env.example
, once you've added values to the environmental variables, rename .env.example
to .env
.
# DATABASE (MongoDB)
# You can retrieve your Mongo URI by clicking "Connect" on your cluster followed by clicking
# "Connect your Application" and copying the displayed Mongo URI
MONGO_URI='Your Mongo URI goes here'
# TOKENS
# The token of bot can be found at https://discord.com/developers/applications/[CLIENT_ID]/bot
# Replace [CLIENT_ID] with your bot's user ID
PRODUCTION_BOT_TOKEN='Your production bot's token goes here'
DEVELOPMENT_BOT_TOKEN='Your development bot's token goes here'
# ENVIRONMENT
NODE_ENV='PRODUCTION or DEVELOPMENT (determines which token will be used)'
Finally, build and run the code:
npm run build; npm run start