We are building a bot, which will help all rocket.chat users with their mental and physical well-being. We are building a very interactive bot with below features -
- Drinking Water reminder
- Mood enhancement
- Medicine Reminder
- Take a break reminder
- Health Information on Demand
- Idea Page - Check Now
- Page Summary (Deliverable 1) - Download
- Presentation (Deliverable 2) - Download
- Video Pitch/Demo ( Deliverable 3 ) - Watch
- Our Journey - Read
- Vishnu - @Ruudeus
- Vedant - @VedantS20
- Mahima - @mahima2499
- Charchit - @HowitzerGitHub
- Partha - @iamparthaonline
- Install Node JS in your system first.
- Create a new account in your workspace for the bot
- Create API Tokens for the bot
- Create a Local/Server Mongo Instance to save your message data
Update the config in the .env file.
HOST = "YOUR_WORKSPACE_ID.rocket.chat"
BOT_USER = "YOUR_BOT_USERNAME"
BOT_PASSWORD = "YOUR_BOT_PASSWORD"
BOTNAME = "YOUR_BOT_USERNAME"
SSL = true
RESPOND_TO_DM=true
LISTEN_ON_ALL_PUBLIC=true
MONGO_URL="MONGO_DB_URL"
MESSAGE_TIMEOUT=10000
CRON_TIME="10 * * * * *" #*/1 * * * *
AUTH_TOKEN="YOUR_BOT_SPECIFIC_AUTH_TOKEN"
AUTH_USER_ID="YOUR_BOT_SPECIFIC_AUTH_USER_ID"
API_URL="https://YOUR_WORKSPACE_ID.rocket.chat/api/v1/chat.postMessage"
CONTENT_SOURCE_URL="https://www.health.com"
Then run below commands,
npm install
npm start