on-internet
← Community

vkbottle 4.11.0: WaiterMachine().wait() default argument is ignored/not triggering

Stack Overflow ·

Env: Python: 3.12 vkbottle: 4.11.0 OS: Windows Problem: I am trying to create a step-by-step dialogue using 'WaiterMachine' in 'vkbottle'. I want to validate user input using 'RegexRule'. If the user enters an invalid string, the default argument should trigger and send an error message. However, when I enter an invalid string, nothing happens. The bot just silently ignores the message. There are no errors in the console. When I enter a valid string (matching the regex), the bot correctly proceeds to the next step of the dialogue. This means 'wm.wait()' is correctly intercepting events, but th

Comments

Sign in or sign up to comment and upvote.

No comments yet.