Skip to content

frankenstein19/telegram-bot-nodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bot Icon

# Telegram Bot with Node.js

This is a Telegram bot created using Node.js. The bot can respond to specific commands and provide various functionalities within the Telegram messaging platform.

## Installation

1. **Install Dependencies:**

   ```bash
   npm install
  1. Configure your Telegram Bot API token:

    Create a file named .env in the project root and add your Telegram Bot API token:

    MY_BOT_TOKEN=your_telegram_bot_token
    
  2. Start the Bot:

    node index.js

Usage

  1. Start a conversation with your bot on Telegram.
  2. Send messages with the specified commands to interact with the bot.

Example:

  • User: /whatyoudo

  • Bot: I'm a simple bot created using Node.js. Currently, I don't have many functions, but I'm here to learn and assist you as much as I can!

  • User: /whocreatedyou

  • Bot: I was created by Rahul Sharma.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published