Hamster Kombat Key Generator is a powerful tool designed to instantly generate and distribute game keys through a Telegram bot. It is comprised of two main components: the key generator and a Telegram bot built with aiogram v3. Both components can operate independently or together, offering a seamless and time-saving experience for users.
requirements.txt
)Clone the repository:
git clone https://github.com/Kovirum/hamster_kombat_instant_keygen_tg.git
cd repo
Install dependencies:
pip install -r requirements.txt
Configure environment variables:
Create a .env
file in the root directory with the following content:
BOT_TOKEN=your-telegram-bot-token
DB_URL=your-mongodb-url
Set the startup method in config.py
:
STARTUP_METHOD = StartupMethods.KeygenAndBot # Run both the key generator and the Telegram bot
STARTUP_METHOD = StartupMethods.OnlyKeygen # Run only the key generator
STARTUP_METHOD = StartupMethods.OnlyBot # Run only the Telegram bot
Run the application:
python main.py
Complete documentation is available in the /docs
directory.
This project is licensed under the MIT License. See the LICENSE file for details.
Contributions are welcome! Please see the contributing guide for more information.