Replies: 1 comment 3 replies
-
The example needs to be updated by calling a function to close session. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello guys!
I took a look at how to set commands in the examples available, in my case AsyncTelebot. Well, the procedure to set the commands seem to work fine, although I'm getting this warning:
On the other hand, using the procedure to delete the commands delete them at first. If I leave the private chat with the bot and come back (in order to update, like described in the example) the menu disappear, which is fine and intended. But if I leave the chat again and come back, the commands are shown again, which is not intended.
I don't know if this has something to do with the warning I'm getting about “Unclosed client session” and “Unclosed connector”, but this doesn't happen with the Telebot, just with the Async one. Any suggestion?
(I'm using the same code in the example).
Beta Was this translation helpful? Give feedback.
All reactions