You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @daquinoaldo
I happened to come across this ticket/repo via google when solving the same issue for a repo of mine.
You will not only have to add use_context=True but also change your message-handler functions to accept and use the context object. The reason your bot is breaking is likely because once use_context is set, the message handlers will get update and the context-object passed in, no more bot-object, so you will have to adjust their header and adjust usages of bot, probably by getting the bot-object from the context, instead of the method header.
More detailed descriptions are in the link that you already posted in your initial comment.
I hope this might help anyone who picks up this ticket.
Warning in gdgpisausermanager.py. See https://git.io/fxJuV for details.
Adding
use_context=True
as suggested seems broking the bot (at least on Docker).The text was updated successfully, but these errors were encountered: