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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
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
51
サーバーレスのテストを取り巻く環境
yusabana
0
960
IT筋トレを続けるための技術
yusabana
0
290
テスト導入支援
yusabana
0
120
社内向けgyazo
yusabana
0
200
社内開発環境/テスト環境
yusabana
0
130
Other Decks in Technology
See All in Technology
『GOエコノミー 』(相乗りサービス) におけるスペック駆動開発
mot_techtalk
1
310
Lambda MicroVMsが分からなすぎたので使い所を1から考えてみた
tsukuboshi
2
390
IR Today: Theory, Practice, and Agents
dtunkelang
0
340
検証フェーズはAIの回答を判断するための学習機会
toru_kubota
2
500
AI 時代の Azure エンジニアリング ~ 私たちは何を磨き、何を任せるのか ~
chack411
1
450
私の推しは「聞いてから進む」AIです -AI-DLCに一人でアプリを作らせた話
yama3133
1
170
形式手法を使って仕様をコーディングしよう
mikanichinose
0
180
[2026 Oracle Technical Deep Dive] Apache Iceberg × Oracle AI Database -Oracle Autonomous AI Lakehouseが実現するAI時代のデータ基盤- (2026年9月17日開催)
oracle4engineer
PRO
0
110
並行性の問題を防げ!実践トランザクション入門
occhi
0
260
HacobuにおけるFDEとは/登壇資料(戸井田 裕貴)
hacobu
PRO
1
780
Kernel testing frameworks
ennael
PRO
0
110
生成AIを使って「人が」考える技術 ― AI時代の人機共想と実践ノウハウ|UNITT AC2026
ishiirikie
0
550
Featured
See All Featured
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
300
The SEO identity crisis: Don't let AI make you average
varn
0
580
From π to Pie charts
rasagy
1
390
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3k
Making Projects Easy
brettharned
120
6.8k
The browser strikes back
jonoalderson
0
1.8k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
540
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.6k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.8k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Git: the NoSQL Database
bkeepers
PRO
433
67k
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を作りましょー♪ ありがとうございました。