mirror of
https://github.com/nikdoof/smsbot.git
synced 2025-12-18 20:29:22 +00:00
Fix owner env var
This commit is contained in:
@@ -170,7 +170,7 @@ def main():
|
|||||||
|
|
||||||
# Set the owner ID if configured
|
# Set the owner ID if configured
|
||||||
if 'SMSBOT_OWNER_ID' in os.environ:
|
if 'SMSBOT_OWNER_ID' in os.environ:
|
||||||
telegram_bot.set_owner(os.environ.get('SMS_OWNER_ID'))
|
telegram_bot.set_owner(os.environ.get('SMSBOT_OWNER_ID'))
|
||||||
|
|
||||||
# Add default subscribers
|
# Add default subscribers
|
||||||
if 'SMSBOT_DEFAULT_SUBSCRIBERS' in os.environ:
|
if 'SMSBOT_DEFAULT_SUBSCRIBERS' in os.environ:
|
||||||
|
|||||||
Reference in New Issue
Block a user