Skip to content

kevinam99/aditi

Repository files navigation

Aditi, a chat bot for Telegram

License Follow me on Twitter Star this repository Heroku Build Status ko-fi

A chat bot made using Dialogflow and Heroku for hosting. I've made this bot in such a way that it can be extrapolated to various use cases without requiring much effort.

Run npm install in your shell to install the dependencies.

Software requirements:

  • Node.js v12.13.0 or higher
  • NPM v6.12.0 or higher
  • ngrok v2.3.35 or higher for implementing custom webhook on localhost and exposing it online. Not recommended for production.
  • Nodemon v2.0.2 (optional)
  • Understanding Dialogflow fulfillment and Telegram Bot API.

Usage

  1. Run node src/main.js or nodemon src/main.js.
  2. The server will start on port 5000. Make sure you're also listening on the same port with Ngrok.
  3. Send messages to the bot.
  4. Sit back and watch how the bot goes.

Contributing

Here's how you can contribute to the project:

  • Open up issues.
  • Open up pull requests.
  • Fix bugs in the code.
  • Help with the documentation.
  • Suggest features.
  • Test the bot and suggest improvements.

Reach out to me on:

  1. Twitter
  2. Email [email protected]
  3. LinkedIn