Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
hubotを使ったチャット環境
Search
Yuji Takaesu
March 28, 2015
Technology
89
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
hubotを使ったチャット環境
Yuji Takaesu
March 28, 2015
More Decks by Yuji Takaesu
See All by Yuji Takaesu
データ基盤統合への歩み - ハッカーズチャンプルー2025前夜祭
yusabana
2
55
サーバーレスのテストを取り巻く環境
yusabana
0
960
IT筋トレを続けるための技術
yusabana
0
290
テスト導入支援
yusabana
0
130
社内向けgyazo
yusabana
0
200
社内開発環境/テスト環境
yusabana
0
140
Other Decks in Technology
See All in Technology
演劇と私とスクラム
chinmo
0
160
AWSDirectConnectの構築の進め方を整理してみた
masa_my
1
200
撮るだけでは終わらない。ソニーが挑むB2Bカメラソリューション開発
sony
0
110
契約で守るコンパウンドプロダクトのデザインシステム
yug1224
1
1.4k
AI時代の開発はウォーターフォールに回帰する? / development-with-ai-back-to-wf
okamototakuyasr2
0
120
Kiro Crewで「みのるん式」仕事術やってみた
minorun365
PRO
3
1.1k
AIで選択肢が広がった組織設計の理想と現実
konifar
12
5.4k
ポケモン対戦を自動で記録して振り返ろう
fufufukakaka
0
410
What Is JetBrains Air
x5gtrn
PRO
0
170
dbt Semantic Layerで進めるenechainのデータ民主化
akizhou
1
270
Metadata - Section 2: Simple Metadata & Meta Tags
mohab1
0
140
VLA-JEPA: Enhancing Vision-Language-Action Models with Latent World Models
takmin
0
330
Featured
See All Featured
Become a Pro
speakerdeck
PRO
31
6.3k
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
900
Google's AI Overviews - The New Search
badams
0
1.6k
How STYLIGHT went responsive
nonsquared
100
6.3k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.3k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
530
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
2
490
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.4k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
WCS-LA-2024
lcolladotor
0
920
The Mindset for Success: Future Career Progression
greggifford
PRO
0
550
Transcript
開発現場でボット(Bot)を 有効活⽤用 2014/08/03 社内LT会 1PAC.INC. Yuji Takaesu
ボット(Bot)とは http://e-‐words.jp/w/ E3839CE38383E38388.html
Twitterで流流⾏行行った?! http://twinavi.jp/account/list/bot/followers
無料料でTwitter bot(ツイッターボット)を作れ るサービスまとめ -‐ NAVER まとめ http://matome.naver.jp/odai/2133695904966289401
Hubot https://hubot.github.com/
v Github社が開発した様々なチャットサービ スに組み込むことが出来るBotフレーム ワーク v Nodejsベースのオープンソース Ø ライブラリやプラグインもオープンソースで 配布されている
v オリジナルのボットスクリプトは JavascriptまたはCoffeescriptで書く Hubotとは
DEMO
v 決まった時刻に定期的に発現する v 呼びかけると反応する v テストの⾃自動実⾏行行 v デプロイの⾃自動化 v 天気や⾷食べログ検索索
v ⽇日頃⼿手作業でやっている反復復な作業を やってくれる 開発現場で活⽤用する ボット(Bot)とは
ディレクターがアプリケーションを リリースできるようになる チャットにリリースのメッセージを ⼊入⼒力力するだけ。 ここまでいくと
コード
# Description: # Murashige san. # # Commands: # hubot
murashige - Reply with Hi module.exports = (robot) -> robot.respond /村重$/i, (msg) -> if not robot.brain.data["murashige"] robot.brain.data["murashige"] = 0 robot.brain.data["murashige"]++ robot.brain.save() if robot.brain.data["murashige"] > 2 robot.brain.data["murashige"] = 0 msg.send "もうーーウザい!!" else msg.send "BAN!! BAN!! バンバン!!" robot.hear /バンバン$/i, (msg) -> msg.send "村重さーーーん” # Description: # Jenkins Tamagoのテスト実⾏行行 # # Configuration: # # Commands: # hubot tamago_all_spec # # Author # yusabana module.exports = (robot) -> robot.respond /jenkins_job (.*)/i, (msg) -> url = "" job = msg.match[1] msg.send "job: #{job}" msg.http("http:// 192.168.100.71:8080/job/#{job}/build") .get() (err, res, body) -> msg.send "Error: #{err}" msg.send "Response: #{res}" msg.send "Body: #{body}"
みんなでBotを作りましょー♪ ありがとうございました。