question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

how can i ask question and wait for replay

See original GitHub issue

hello, is it possible to wait for a replay for a single question if so can you give example on how to do this

example

ctx.reply('Send me your name')
ctx.waitForAnswer().then(ctx.replay("i will call you " + ctx.message+" from now on");

so the bot will send a message and the bot will accept the users response what ever he types like the bot.on('message'.....) but only for one time until he replays then it will not

Thanks,

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
Piterdencommented, Sep 30, 2018

There can be many ways to resolve it. For example you can add some variables and conditions. It is JavaScript.

1reaction
natget21commented, Oct 2, 2018

@Piterden Thanks a lot i got how the session works now you were really helpful

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to ask someone, very politely, to reply to my email - Quora
There are a ton of ways to ask, but it depends on the context. Here are two common situations that may apply to...
Read more >
Send & Wait For Reply Widget - Twilio Studio
Use this Widget to collect replies to your messages, such as a YES to confirm an appointment or answering survey questions. You can...
Read more >
25 "I Will Get Back To You" Quick Response And Email ...
If the customer asks a question that you can't answer right away, you can simply reply, “I will get back to you.” This...
Read more >
How Long Should You Wait to Reply to a Text ... - wikiHow
1. That way, you won't leave them hanging or forget to respond. It can be easy to forget about a message until later...
Read more >
A word for "waiting for a reply" - English StackExchange
+1 Thanks for asking this. Came here today to ask the same question, for basically the same reason. (Too bad there isn't a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found