Browse Source

ming 1st test

ming 3 years ago
parent
commit
45086f46f9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      newbot.py

+ 2 - 2
newbot.py

@@ -205,14 +205,14 @@ def message_text(event):
         return
     """
     if event.message.text=='熱門關鍵字':
-        out_result = get_hotkeys(false)
+        out_result = get_hotkeys(False)
             
         line_bot_api.reply_message(
             event.reply_token,
             TextSendMessage(text=out_result))
             
     if event.message.text=='關鍵字歷史走勢':
-        out_result = get_hotkeys(true)
+        out_result = get_hotkeys(True)
             
         line_bot_api.reply_message(
             event.reply_token,