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

Put a timed delay in between each welcome message #1

Open
sethetter opened this issue Jul 8, 2017 · 6 comments
Open

Put a timed delay in between each welcome message #1

sethetter opened this issue Jul 8, 2017 · 6 comments

Comments

@sethetter
Copy link
Member

sethetter commented Jul 8, 2017

In /scripts/onboarding.js, we currently send all the messages at once, which can be a lot. It would be a bit of a better experience for the new comer if they received each message with at least 10-15 second (maybe longer?) pause in between.

This is possible with some setTimeout and promise chaining! Should be a fun little challenge. Who's up for it?!

To do this and not have to test with the live Slack, just update the plugin to reply to something instead of using robot.enter(). After the delay is working, update the code in the robot.enter() handler.

@bikrambhattacharya
Copy link

@sethetter I will try to solve this. jQuery allowed?

@sethetter
Copy link
Member Author

@bikrambhattacharya this is running on the server side, so jQuery won't be relevant here. Should be achievable with Promises.

@bikrambhattacharya
Copy link

@sethetter okay I will try then not sure .

@sethetter
Copy link
Member Author

@bikrambhattacharya if you have trouble feel free to post here!

@bikrambhattacharya
Copy link

@sethetter I am working on this.

@sethetter
Copy link
Member Author

sethetter commented Jul 12, 2017 via email

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

No branches or pull requests

2 participants