viperadnan-git / google-drive-telegram-bot

A Google Drive Telegram Bot for managing, cloning files, uploading files on Google Drive
GNU General Public License v3.0
612 stars 1.6k forks source link

How to ban/restrict people/telegram-IDs using/spamming my bot #58

Open ihavenoid opened 3 years ago

ihavenoid commented 3 years ago

Thank you for this wonderful bot codes. I am running this bot in my server. and I found that anyone can use my bot (FYI:- Only I am added as "sudo user" in config.py)

Can u implement some restrictions? for example

Only peeps/IDs added in "sudo user" can use it or A ban command (like /banuser 1090706143)

Hope people will like this idea (its much needed to avoid bot spamming by random peeps)

Thank you again and looking forward for this feature