Slide 1

Slide 1 text

CHAT ROBOTS next level tooling

Slide 2

Slide 2 text

Ole Michaelis !" @ JIMDO // # @CODESTARS // ⚓️ CODESTARS.EU // &' NESQUICK // ( SLIDR.IO

Slide 3

Slide 3 text

WE ARE HANGING AROUND IN CHATROOMS SINCE EVER

Slide 4

Slide 4 text

“If you have a sick day, you’re not going to miss everything if our communication is set up to be distributed." — Chris Wanstrath, github CEO

Slide 5

Slide 5 text

CHATROOMS ARE awesome

Slide 6

Slide 6 text

THE cloud MANIACS

Slide 7

Slide 7 text

No content

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

CONNECTING technologies

Slide 10

Slide 10 text

HUBOT pronounced hew-bot

Slide 11

Slide 11 text

BRING THE web TO YOUR chatroom

Slide 12

Slide 12 text

SHARING IS caring

Slide 13

Slide 13 text

PRESERVE history

Slide 14

Slide 14 text

collaborate

Slide 15

Slide 15 text

No content

Slide 16

Slide 16 text

EVERYTHING is possible ✌️

Slide 17

Slide 17 text

No content

Slide 18

Slide 18 text

No content

Slide 19

Slide 19 text

THE POWER OF JAVASCRIPT

Slide 20

Slide 20 text

GET YOUR BOT

Slide 21

Slide 21 text

hearing and responding robot.hear /badger/i, (msg) -> msg.send "Badgers? BADGERS? WE DON'T NEED NO STINKIN BADGERS" robot.respond /open the (.*) doors/i, (msg) -> doorType = msg.match[1] if doorType is "pod bay" msg.reply "I'm afraid I can't let you do that." else msg.reply "Opening #{doorType} doors"

Slide 22

Slide 22 text

http listener module.exports = (robot) -> robot.router.post '/hubot/chatsecrets/:room', (req, res) -> room = req.params.room data = JSON.parse req.body.payload secret = data.secret robot.messageRoom room, "I have a secret: #{secret}" res.send 'OK'

Slide 23

Slide 23 text

event system module.exports = (robot) -> robot.router.post "/hubot/gh-commits", (req, res) -> robot.emit "commit", { user : {}, #hubot user object repo : 'https://github.com/github/hubot', hash : '2e1951c089bd865839328592ff673d2f08153643' }

Slide 24

Slide 24 text

"The only limit is your imagination"

Slide 25

Slide 25 text

No content

Slide 26

Slide 26 text

DEVELOPERS ❤️ TOOLS

Slide 27

Slide 27 text

"We need more engineers and more productive engineers. We don’t need to send people on quests through the dark woods of our issue tracker [...]" — Garann Means

Slide 28

Slide 28 text

HAVING A chat robot MEANS, YOUR LIFE JUST GETS EASIER!

Slide 29

Slide 29 text

THANKS

Slide 30

Slide 30 text

Tweet me @CodeStars

Slide 31

Slide 31 text

▸ https://github.com/blog/968-say-hello-to-hubot ▸ https://hubot.github.com/ ▸ https://github.com/dp-opensource/dooropener ▸ https://speakerdeck.com/jnewland/chatops-at-github ▸ https://github.com/github/hubot-scripts ▸ https://github.com/dp-opensource/dooropener ▸ https://the-pastry-box-project.net/garann-means/2014-june-16 ▸ https://github.com/github/hubot/blob/master/docs/scripting.md