-
Notifications
You must be signed in to change notification settings - Fork 43
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
telegram bot reply nothing #13
Comments
Can you get a reply message when you send "/start" command to your bot? |
Hmm, same issue here, sending /start shows 2 tick marks in Telegram for read but no reply, and the bot shows as started without any errors. Is there a debug log maybe? |
No matter what message I send, my robot won't respond with any content。 |
Sorry, we didn't have a good logging for now :(, I promise we will do this in a few days.
Apologize for not having good outputs and loggings again. |
No worries - thank you for your response. I’ve ran the telegram_message_parser.py with the output below:
Please let me know if there’s anything else I can provide. |
@dtimekeeper Looks like a config file error. Would you mind paste your DO Make sure to hide both of your |
Sure thing:
|
I think the problem could come from invalid comments in the JSON file. Try removing all comments in your config.json file which means removing all We actually should comment the keys in a better way. We will fix that in next version. Thanks. |
I believe I’ve cleaned out the comments but still get the error - at least it’s a different line now? :):
The Telegram bot key has some funky letters like ___ and : so maybe it might be that? |
@dtimekeeper Both So try removing commas in line 6 and line 11. |
Boom, that was it and it’s up and running like a charm. Thank you, sir. Really also appreciate that your code has the routine to clear the conversation after x seconds so I can always start fresh instead of manually clearing it. |
@dtimekeeper A robust program should work in this way. Glad you like it. If there's more advices or suggestions please let me know. |
@peteisacat Consider follow the instructions above. This may help you solve the problem. |
It really should, but neither of the 3-4 other python options I tried had that. Suggestions wise, one of use cases is basically running another instance for my friends to use as a telegram bot. It would be helpful to have a way to ‘whitelist’ all telegram IDs so as long as they know the link to message it, they can talk to the bot. Related to this too, but not sure how feasible it is, would be separate conversational context for each person that messages the bot, but I’m also not sure if this is even possible with the API. Thanks again. |
@dtimekeeper Thanks for your suggestions. Would you mind copy and paste these suggestions to a new issue that I can easily work with? I will have a conversation with you there. Thanks. |
@flynnoct Thank you very much. I have successfully run it according to the method you described above. Thank you for your hard work.😄❤️ |
I followed the prompts in the instructions for installation, and at the end it showed that the bot has started successfully. However, I'm not receiving any replies from the bot when I send messages to it. I don't know why.
The text was updated successfully, but these errors were encountered: