|
@@ -36,7 +36,7 @@ async def callback(request: fastapi.Request):
|
|
|
return 'OK'
|
|
|
|
|
|
|
|
|
-@bot.add(linebotModels.MessageEvent, message=linebotModels.TextMessage)
|
|
|
+@handler.add(linebotModels.MessageEvent, message=linebotModels.TextMessage)
|
|
|
def message_text(event):
|
|
|
if event.message.text == '叫':
|
|
|
lineBotApi.reply_message(
|