- clone repo
- create your bot via Botfather
- create
.env
file and put them your telegram BOT_TOKEN and MONGODB database path example:
BOT_TOKEN=qwerty12345
MONGODB=mongodb+srv://username:password@clusterUrl/?retryWrites=true&w=majority
- run
npm install
- run
npm run start:dev