Skip to content

subhranil002/NodeJs-TelegramBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram Bot

Telegram Bot: Hey Subh :)

Description

This is a Telegram bot designed to send secret messages to Subhranil anonymously. It provides various commands for interacting with the bot, including sending secret messages and accessing contact details.

Features

  • Anonymous Messaging: Send secret messages to Subhranil without revealing your identity.
  • Command-based Interaction: Use commands like /start, /secretMessage, /contact, and /help to interact with the bot.
  • Contact Information: Access Subhranil's contact details through the bot.

Prerequisites

Before running the bot, ensure you have the following installed:

  • Node.js and npm (Node Package Manager)
  • A Telegram Bot API Token (obtainable from the BotFather)
  • Try console.log(msg) variable to get your own CHAT_ID

Installation

  1. Clone this repository:

    git clone https://github.com/subhranil002/NodeJs-TelegramBot.git
  2. Navigate to the project directory:

    cd NodeJs-TelegramBot
  3. Install dependencies:

    npm install
  4. Create a .env file in the root directory and add your Telegram Bot API Token:

    BOT_API_TOKEN=your_bot_api_token_here
    ADMIN_CHAT_ID=your_admin_chat_id_here
    
  5. Start the bot:

    npm start

Usage

Once the bot is running, you can interact with it using Telegram. Send commands such as /start, /secretMessage, /contact, or /help to perform various actions.

Contributing

Contributions are welcome! If you'd like to contribute to this project, feel free to fork this repository, make your changes, and submit a pull request. Please ensure your code follows the project's coding standards and includes appropriate documentation.

License

This project is licensed under the MIT License.


Made With ❤️

About

Anonymously send messages to Subhranil. Commands for secret messaging, contact details, and help menu. Built with Node.js ... ❤️

Topics

Resources

License

Stars

Watchers

Forks