GithubHelp home page GithubHelp logo

hubot's Introduction

hubot's People

Contributors

averagemarcus avatar benfoxall avatar danielthepope avatar drarok avatar henrahmagix avatar ilidur avatar kynan avatar omgmog avatar spikeheap avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

hubot's Issues

Listen for smart quotes

image
This is the third time this has happened.
Listen out for other quote types ', โ€™ and whatever else

Post event announcements to the relevant Slack rooms

At the moment, whenever Dobot detects a new Meetup event with any of the Digital Oxford Meetup groups, it posts a notification in the #Events channel.
Now that we have meetup-groups.json, it should be easy enough to get Dobot to post to the right slack channel.
The response from the API call comes back with the Group ID, which we can match up with the relevant object in meetup-groups.json. If we add a 'slack_channel' field to each object, Dobot can post to the specified room (if it is defined).

I'll probably have a go at this on Saturday, unless someone else wants to jump in beforehand.

Detecting if meetups clash?

PHPOxford and JSOxford are clashing again this month.

Would it be possible to use dobot to detect this and tell us of any clashing events? Would be mega handy if so.

Idea: pasted Meetup information

image

In order to get further information about a particular meetup, I could just click on the link.

But I'm very lazy. Instead, how about Dobot queries the Meetup API using the event ID in the link, then says something like That meetup is "marlow[dev] #5: VR/AR Talks and Tech", at Marlow Rowing Club, on the 2nd November 2016 at 7pm.

Could be triggered with something like robot.hear(/meetup\.com\/.*\/events\/(\d+)/)

Perhaps add to meetup.js?

Add logging to debug incorrect responses

We've had a few occasions of Dobot responding incorrectly when not actually wanted. It'd be useful to have a log of what was heard (the trigger) and what the response was so we can improve the detection.

Update readme

Need to:

  • Change name
  • Explain how to contribute
  • Explain how to get a meetup group ID

Remove the Meetup Info response

image

The link preview that Slack gives now contains the meetup name, location & date, so Dobot no longer needs to respond with that information when someone pastes a Meetup URL.

Respond to "When's the next meetup" in DMs

The way I understand it, DMs with Dobot are received with the prefix @dobot. It responds when you say thanks and it hears the word potato, so the reason why it isn't responding to When's the next meetup? is because the regular expression won't match messages beginning with @dobot. Removing the ^ character will do the trick, but maybe we should add \??$ at the end, which will only match if the phrase ends with 'meetup'/'event' etc. and may or may not have a question mark.

I realise now that in the time it took me to write this issue I could have fixed it already.

Handle recurring meetups

When a recurring meetup is added all the events are announced at once.

ezgif com-resize

It'd be nice if these could be announced individually after each previous event has passed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.