Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/subhranil002/nodejs-telegrambot

Anonymously send messages to Subhranil. Commands for secret messaging, contact details, and help menu. Built with Node.js ... ❤️
https://github.com/subhranil002/nodejs-telegrambot

anonymous chatbot express expressjs node nodejs secret secret-message telegram telegram-bot telegram-bot-api

Last synced: 4 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# Telegram Bot

Telegram Bot: [Hey Subh :)](https://t.me/subhranil002_bot)

## Description

This is a Telegram bot designed to send secret messages to [Subhranil](https://github.com/subhranil002) 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](https://nodejs.org/) and [npm](https://www.npmjs.com/) (Node Package Manager)
- A Telegram Bot API Token (obtainable from the [BotFather](https://core.telegram.org/bots#6-botfather))
- Try `console.log(msg)` variable to get your own `CHAT_ID`

## Installation

1. Clone this repository:

```bash
git clone https://github.com/subhranil002/NodeJs-TelegramBot.git
```

2. Navigate to the project directory:

```bash
cd NodeJs-TelegramBot
```

3. Install dependencies:

```bash
npm install
```

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

```plaintext
BOT_API_TOKEN=your_bot_api_token_here
ADMIN_CHAT_ID=your_admin_chat_id_here
```

5. Start the bot:

```bash
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](https://github.com/subhranil002/NodeJs-TelegramBot?tab=MIT-1-ov-file).




Made With ❤️