Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 755 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 755 Bytes

GroqAi-Telegram-Bot

This is a simple Telegram bot that uses the Groq API to generate responses to user messages. The bot is built using Node.js and the node-telegram-bot-api and groq-sdk libraries.

Prerequisites

To run this bot, you will need:

Replace YOUR_TELEGRAM_TOKEN and YOUR_GROQ_API_KEY with your respective tokens and keys.

Setup

  1. Install Node.js and npm.
  2. Clone this repository.
  3. Replace YOUR_TELEGRAM_TOKEN and YOUR_GROQ_API_KEY with your respective tokens and keys.
  4. Run the bot by executing node main.js
  5. If have any error run this npm install node-telegram-bot-api --save groq-sdk