anareksik47 / ID-Bot

Telegram bot to get ID of any user, bot, group, channel and stickers, written in Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The ID Bot

A star ⭐ from you means a lot to us!

Telegram bot to give id of any user, group,bot, channels and even stickers.

Open Source Love svg1

Table of Contents
  1. Usage
  2. Environment Variables
  3. Functions
  4. To-Do
  5. Stats
  6. License
  7. Contributing
  8. Credits
  9. Support

Usage

Deploy to Heroku

Deploy

  1. Tap on above button and fill API_ID, API_HASH, BOT_TOKEN. Alternatively fill OWNER_ID and OWNER_NAME. (Note : Fill both or leave both unless bot won't work.)
  2. Turn on "Inline Mode" of your bot!
  3. Then tap "Deploy App" below it. Wait till deploying is complete (will take atmost 2 minutes).
  4. After deploying is complete, tap on "Manage App"
  5. Check the logs to see if your bot is ready!

Local Deploying

  1. Clone the repo

    git clone https://github.com/MysteryBots/ID-Bot
  2. Edit Config.py and Fill the needed variables by following this

  3. Turn on "Inline Mode" using settings in BotFather.

  4. Enter the directory

    cd ID-Bot
  5. Run the file

    python3 idbot.py

Environment Variables

Mandatory Vars

Optional Vars

(fill both or neither)

  • OWNER_ID - Get it from @MissMiley_bot by sending /id to it.
  • OWNER_NAME - Your Name (to be shown as owner in bot)

Functions

More features soon, this is an minimal example :)

  1. Telegram bot to give id of any user, group,bot, channels.
  2. Support for using in groups and channels
  3. Support for Inline Mode
  4. Also support to het id by Forwarding any message to the bot from users, bots, channels and even anonymous admins.
  5. Get id from usernames too.
  6. Specify owner's account to get help or something.

To-Do

  1. Database for stats
  2. Add more group features.
  3. Add more inline features

Stats

GitHub forks GitHub stars GitHub watchers Maintenance

License

License: AGPL v3

Contributing

GitHub contributors

Contributions are heartily accepted.

PRs Welcome

Credits

Support

Channel :- @MysteryBots

Group Chat :- @MysteryBotsChat

:)

forthebadge made-with-python

ForTheBadge built-with-love

ForTheBadge makes-people-smile

About

Telegram bot to get ID of any user, bot, group, channel and stickers, written in Python

License:GNU Affero General Public License v3.0


Languages

Language:Python 100.0%