OSDN Git Service
(root)
/
simple-tornado-bot
/
simple-tornado-bot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccf4677
)
!
author
yamat0jp
<yamat0jp@yahoo.co.jp>
Sat, 1 Sep 2018 09:54:21 +0000
(18:54 +0900)
committer
yamat0jp
<yamat0jp@yahoo.co.jp>
Sat, 1 Sep 2018 09:54:21 +0000
(18:54 +0900)
bot.py
patch
|
blob
|
history
diff --git
a/bot.py
b/bot.py
index
92505bd
..
8ccbd3e
100644
(file)
--- a/
bot.py
+++ b/
bot.py
@@
-33,6
+33,7
@@
class WebHookHandler(tornado.web.RequestHandler):
event.reply_token,
TextSendMessage(text=event.message.text)
)
+ self.set_status(200)
application = tornado.web.Application([(r'/callback',WebHookHandler)])