Bot inspired on Dankiebot, written in Python with Pyrogram and using MongoDB
-
Install
git, python
andpip
.- If you're on Windows, install git for Windows leaving all the options at their default (optionally disable the credential manager), and when installing python, make sure to tick the checkboxes for
Add Python to PATH
andInstall pip
.
- If you're on Windows, install git for Windows leaving all the options at their default (optionally disable the credential manager), and when installing python, make sure to tick the checkboxes for
-
Clone the repository
- Either by running
git clone https://github.com/Sonico98/NeoKimberly
on your terminal (or windows' cmd), or by clicking the green "Code" button at the top right of this page and clicking download zip.
- Either by running
-
cd
into the repository on your terminal- If under Windows, you may need to run the cmd with administrator privileges
-
Run
pip install -r requirements.txt
-
Rename
./kimberly/config/login.py_default
to./kimberly/config/login.py
and fill all the necessary fields. The bot_token can be obtained with BotFather, and theapi_id
andapi_hash
from my.telegram.auth. For the database, a MongoDB instance is necessary. -
On Telegram, send the command
/mybots
to BotFather and choose your bot from the list. Then, go into Bot Settings -> Group Privacy -> Turn Off. -
Lastly, run
python kimberly
in the same directory as therequirements.txt
file for the bot to start.
Copyright WhateverLicenseYouWant 3.0