LukeSkywalker92 / TeleFrame

TeleFrame - a digital picture frame for telegram
MIT License
93 stars 28 forks source link

Whitelist doesn't work in Groupie chats #72

Closed leggler closed 4 years ago

leggler commented 4 years ago

Hey everybody, I am new to GitHub, so please Apologize If this ist not the right Place For my question.

Anyway, i added the bot to a group Chat. Said 'hi' to the bot, added the chat-id to the Whitelist (which Works fine with Personal Chats), but i only geht the following msg:

"Hey there, this bot is whitelisted, pls add your chat id to the config file"

Only way ich can make the group Chat work is by disabeling whitelisting.

Am i Missing Something?

LukeSkywalker92 commented 4 years ago

Hey,

did you add a "-" before the group id?

leggler commented 4 years ago

Yes! Works Like a Charm! Thanks For the hint, issued closed! ;) And in General thanks For the GREAT Work!

Btw, one more question, very basic: how do i Stop teleframe once it has Started (eg for configuration testing)? The development-frontend doesnt Help me...

LukeSkywalker92 notifications@github.com schrieb am Mo., 16. Dez. 2019, 20:59:

Hey,

did you add a "-" before the group id?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/LukeSkywalker92/TeleFrame/issues/72?email_source=notifications&email_token=AD5PGW6PSLRAJCXQODSERBTQY7MZ7A5CNFSM4J3PHGIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG746EI#issuecomment-566218513, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD5PGW5F6OBLP6UZQG7Y3ODQY7MZ7ANCNFSM4J3PHGIA .

LukeSkywalker92 commented 4 years ago

Just use the pm2 commands:

pm2 start TeleFrame
pm2 stop TeleFrame
pm2 restart TeleFrame

But when you change something in the config, it should automatically restart.