Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 1.87 KB

CONTRIBUTING.md

File metadata and controls

30 lines (20 loc) · 1.87 KB

Contributing

We welcome any ideas, issues and pull requests that you may want to submit to Dobot. Thanks for helping Digital Oxford become a more productive / entertaining / random community! 👍

If you have any questions, come chat with us in #robot.

Adding your Meetup group

One of the common things you may want to do is add your group to Dobot's Meetup integration. You can ask Dobot about the next meetup, and it will respond:

Dobot's response to "When's the next meetup?

You can also add the name of the Meetup group that you want to check, e.g. "When's the next JSOxford event?" and Dobot will look for the next meetup in that group.

To add your Meetup group, add its details to meetup-groups.json. Let's take JS Oxford as an example.

"17778422": {
  "name": "JS Oxford",
  "slack_channel": "#jsoxford",
  "aliases": ["javascript", "js"]
}
  • The ID number is the Meetup group ID, which can be found using the Meetup API console. Take the group's name from its Meetup URL and paste it into the group_urlname box. Set the only field to id, then the response will come back with the right ID.
  • name: The name of the meetup group.
  • slack_channel: Dobot will always post new events into the #events channel in Slack, but if you specify a channel here Dobot will post to that channel as well.
  • aliases: An array of keywords that Dobot will look out for, and associate with that group. Dobot will look for JS Oxford events when you ask "When's the next JavaScript meetup?", "When's the next JS meetup?" or "When's the next jsoxford meetup?", since 'jsoxford' contains the substring 'js', matching the second alias.

Getting the Meetup Group ID from the API console