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

Fix error when sending a private message #165

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix error when sending a private message #165

wants to merge 1 commit into from

Conversation

jtprogru
Copy link

Hi!
I can't understand this magic, but this work. When I'm sending a test private message, I have error
message_id must be integer, not string

I'm fix it very simple =)

@ableev
Copy link
Owner

ableev commented Apr 29, 2019

@jtprog if you could upload test result with input and output to gist - that would be useful.

@jtprogru
Copy link
Author

Unfortunately, the problem could not be repeated.
As I understand it, problems were associated with clearing the cache and restarting the bot.

@jtprogru
Copy link
Author

I'm not sure, but it seems somehow connected.
Below is a screenshot of the log.
When script run with --debug I view this error.

Снимок экрана 2019-04-29 в 14 32 53

@ableev
Copy link
Owner

ableev commented Apr 29, 2019

@jtprog it has nothing to do with the script and your fix won't help.

This means that you sent something else to the bot.

Picture? Or something else?
Instead of a message.
And the script couldn't find "message id", because there's no message in JSON from the server.

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

Successfully merging this pull request may close these issues.

None yet

2 participants