A simple Telegram bot built in C# using the .NET client for the Telegram Bot API. This bot allows users to generate strong and random passwords on-demand.
- Generate strong and random passwords.
- Create a robust, random password with a length of 25 characters, including a mix of uppercase letters, lowercase letters, special symbols, and numbers.
- Accessible through the Telegram messenger platform.
Find the bot on Currency Exchange Bot
-
Clone this repository:
git clone https://github.com/ideepakpg/password-generator-bot.git
-
Open the project in your favorite C# IDE (e.g., Visual Studio, Visual Studio Code).
-
Replace
BOT_TOKEN
in the Program.cs file with your Telegram Bot API token.Unsure about obtaining a bot token from Telegram? Follow these steps:
-
To create your own Telegram bot, you can follow these steps:
- Open Telegram and search for "BotFather"
- Start a chat with BotFather.
- Use the
/newbot
command to create a new bot. - Follow the instructions to choose a name and username for your bot.
- BotFather will provide you with an API token. Copy and use this token in your code, replacing the placeholder where
BOT_TOKEN
is written.
- Build and run the project
dotnet build dotnet run
-
/start
: Start using the Password Generator Bot. -
/generate
: To genrate strong random password.
-
Start a chat with your bot on Telegram.
-
Send the
/generate
command to trigger the password generation. -
The bot will immediately create a strong, random password for you.
I am continuously working on improving the Password Generator Bot. Here are some of the features and updates you can expect in the near future:
- Bookmark Passwords: I am currently working on a feature that will allow you to store and manage generated passwords, providing a convenient way to access them whenever you need.
The Currency Exchange Bot was developed using C# and the Telegram Bot API in .NET.