Question invalid promise #20
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: thereadme/node-telegram-api#20
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When using Question and typing an answer instead of tapping a button, invalid promise seems not to work.
Do I understand it correctly: if don't tap any button and type something different then Invalid should be logged to console ?
It seems you are right, there is a problem with promises, although I'm not sure about the reason.
Sadly I don't have time to put on this module right now, but pull-requests are always welcome.
I've tried reproducing your code @mishachesnokov, all worked exactly like you intended, selecting an answer or typing whitelisted and even unsupported answer worked like your code intended.