Pluggable Telegram bot based on Pyrogram.
Simply the purpose of this bot is to gather information about a phone number(only BD numbers).
Combined Results from Truecaller and eyecon app is provided.
Saves your time...:-)
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Mozilla Public License for more details.
Simply clone the repository and run the main file:
git clone https://github.com/shovon668/KnowhoBot.git -b bd
cd KnowhoBot
cp creds_local.py.conf creds_local.py
python3 -m venv venv
. ./venv/bin/activate
pip install -r requirements.txt
python3 main.py
class cred():
BOT_TOKEN = "your bot token from botfather"
API_ID = "your api id from my.telegram.org!"
API_HASH = "your api hash from my.telegram.org!"
OWNER_ID = "owner id of the bot"
DB_URL = "your database url from google firebase"
DB_SECRET = "your firebase db secret, get it from project settings -> service account -> database secrets"
DB_MAIL = "your firebase user email"
T_AUTH = "from telegram app request header"
E_AUTH = "from eyecon app request header"
E_AUTH_V= "from eyecon app request header"
E_AUTH_C= "from eyecon app request header"
Firebase Realtime Database rules:
{
"rules": {
".read": "auth != null",
".write": "auth != null"
}
}