We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a523f7 commit 2fc623cCopy full SHA for 2fc623c
main.py
@@ -164,8 +164,7 @@ def comment(bot, update):
164
state_handler = StateHandler.get_instance()
165
user_state = state_handler.get_user(user_id)
166
167
- if user_state == UserState.IDLE:
168
-
+ if user_state.get_state() == UserState.IDLE:
169
if len(params) > 1:
170
text = " ".join(params[1:])
171
logger.debug("New comment! {}!".format(user_id))
0 commit comments