Browse Source

add other function button

ming 3 years ago
parent
commit
a2c328a11d
1 changed files with 6 additions and 0 deletions
  1. 6 0
      newbot.py

+ 6 - 0
newbot.py

@@ -334,6 +334,8 @@ def message_text(event):
         js = get_kw(True)
         line_bot_api.reply_message(event.reply_token, FlexSendMessage('ChoozMo',js))
         return
+    if event.message.text == '更多功能':
+        return
 
 
     '''
@@ -381,6 +383,10 @@ def message_text(event):
                                 QuickReplyButton(
                                     action=MessageAction(label="關鍵字歷史走勢", text="past_hotkeys")
                                 ),
+                                QuickReplyButton(
+                                    action=MessageAction(label="更多功能", text="更多功能")
+                                ),
+
                           
                                 #QuickReplyButton(
                                 #    action=MessageAction(label="幸福空間靈感", text="q_idea")