Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do I _have to_ send a message before reading for user input? #9

Open
ghost opened this issue Jun 20, 2017 · 0 comments
Open

Do I _have to_ send a message before reading for user input? #9

ghost opened this issue Jun 20, 2017 · 0 comments

Comments

@ghost
Copy link

ghost commented Jun 20, 2017

bot.command('round').keyboard(...).answer(function (ctx) {
  ...
});

doesn't work.

Is it possible to have this enabled? I don't necessarily have to send a message before every a command. Specifically, when redirecting with ctx.go(), it isn't always necessary in my use case.


Already tried

bot.command('round').keyboard(...)
.invoke(function (ctx) {
  return Promise.resolve(ctx);
}).
.answer(function (ctx) {
  ...
});

doesn't seem to work either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants