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:
b33d14c
)
no message
author
yamat0jp
<yamat0jp@yahoo.co.jp>
Fri, 7 Sep 2018 12:10:59 +0000
(21:10 +0900)
committer
yamat0jp
<yamat0jp@yahoo.co.jp>
Fri, 7 Sep 2018 12:10:59 +0000
(21:10 +0900)
bot.py
patch
|
blob
|
history
diff --git
a/bot.py
b/bot.py
index
3cb44a0
..
6ddc5c2
100644
(file)
--- a/
bot.py
+++ b/
bot.py
@@
-74,7
+74,7
@@
class WebHookHandler(tornado.web.RequestHandler):
TextSendMessage(text=self.main(event.Message.text))
)
'''
- event = body
['body']
+ event = body
linebot.reply_message(event['replyToken'],text=self.main(event['message']['text']))
class DummyHandler(tornado.web.RequestHandler):