Telegram Bot: Hey Subh :)
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.
- 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.
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 ownCHAT_ID
-
Clone this repository:
git clone https://github.com/subhranil002/NodeJs-TelegramBot.git
-
Navigate to the project directory:
cd NodeJs-TelegramBot
-
Install dependencies:
npm install
-
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
-
Start the bot:
npm start
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.
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.
This project is licensed under the MIT License.
Made With ❤️