Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is "ALLOWED_CHAT_IDS" env-variable #3

Open
ghost opened this issue May 12, 2018 · 1 comment
Open

What is "ALLOWED_CHAT_IDS" env-variable #3

ghost opened this issue May 12, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented May 12, 2018

I tried to setup this bot, but then I encountered this error.

$> python3 telegramassistant.py --device-id XXX --device_model_id XXX
Traceback (most recent call last):
  File "telegramassistant.py", line 46, in <module>
    map(int, os.environ.get('ALLOWED_CHAT_IDS').split(','))
AttributeError: 'NoneType' object has no attribute 'split'

I will try to figure it out, but I thought it would be helpful, if this was documented somewhere.

@maxwowpow
Copy link

Have you figured "YOUR_DEVICE_ID" and "YOUR_MODEL_ID"?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant