Skip to content

ajshovon/KnowhoBot

 
 

Repository files navigation

KnowhoBot

Pluggable Telegram bot based on Pyrogram.

About the bot

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.

Installation

The Easy Way

Deploy

Watch video

The Legacy Way

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

Dont forget to edit the creds_local.py with your own variables like below with your own values

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"
  }
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.8%
  • Procfile 0.2%