FileStreamBot
FileStreamBot copied to clipboard
feature request: admin priviledge mode
hello, since free resource of heroku is not that enough for a whole month I want to run such a bot only for myself, not for others
currently there seems no use of env OWNER_ID
so i think the env OWNER_ID could be a lever of admin priviledge mode
env OWNER_ID could be multiple ids separated with comma
if env OWNER_ID is set then admin priviledge mode enabled
only accounts set in OWNER_ID can get response from the bot
and when admin priviledge mode is enabled, no database is needed
Admin Privilege Don't Help in Heroku's Free Resources (Dyno Hour) This Still run the Bot and Consume the Free Dyno Hour
OWNER_ID Has Uses. Check admin.py your Id need to be in OWNER_ID var to work /status and /broadcast command
fine, but this at least such a mode can limit bot to myself.
currently i've set OWNER_ID but others can still start my bot and get links would be nice if a setting to turn the bot into admin-priviledged only
Why don't you add a AUTH_USERS var like this one https://github.com/EverythingSuckz/TG-FileStreamBot/tree/main?