Fix error when sending a private message
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 =)
@jtprog if you could upload test result with input and output to gist - that would be useful.
Unfortunately, the problem could not be repeated. As I understand it, problems were associated with clearing the cache and restarting the bot.
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.
@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.