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

Invite members to add their profile to the devanooga.com website #2

Open
agarzola opened this issue Jun 10, 2017 · 1 comment
Open

Comments

@agarzola
Copy link
Contributor

This can take one of various forms:

Send a DM after X number of messages sent

I like this idea, but it sounds expensive. We would need to keep track of every message the user sends across all public channels, since the users.info method in the Slack API doesn‘t provide total number of messages.

Set a reminder for the member X days after registration

This might be the easiest/cheapest to implement. The bot simply sends:

/remind @username to Add profile information to devanooga.com, here’s how: link/to/instructions a week from now

and slackbot should send the member a DM one week later.

Collect the information interactively via DM

It would be awesome if the bot could engage our members in an interactive manner. Ask if they’d like to add their profile to the site, and if they say yes (or no, but later enter a command of some sort) the bot asks for each piece of information, records the member’s answers and submits an issue on github (or posts the information to a dedicated private channel or something). Once this is implemented, it would be possible to extend it so members can update their existing profile in a similar fashion.

Include an invitation in the welcome message

Sure, we could. But I feel like it’s too early. There’s a bigger incentive to do so, I think, after a member has had a few interactions and gotten a sense of what the community is like.

@agarzola
Copy link
Contributor Author

Revisiting this feature, now that we have a proper application running (see #9; as opposed to the serverless solution we had running on stdlib.com), it is far more feasible to collect the information interactively via DM. Using Slack’s interactive messages feature and storage of some sort (SQLite, probably), it should be pretty easy to implement this. Once we have everything we need, the bot can use gray-matter to convert a JS object into front matter and commit it to file. Likewise, gray-matter can be used to read a member’s existing profile to make changes to it.

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

1 participant