|
@@ -52,7 +52,10 @@ def message_text(event):
|
|
lineBotApi.reply_message(
|
|
lineBotApi.reply_message(
|
|
event.reply_token, linebotModels.AudioSendMessage(
|
|
event.reply_token, linebotModels.AudioSendMessage(
|
|
original_content_url=f'{baseUrl}/static/audio/noot_noot.mp3', duration=1000))
|
|
original_content_url=f'{baseUrl}/static/audio/noot_noot.mp3', duration=1000))
|
|
-
|
|
|
|
|
|
+ if event.message.text=='ok':
|
|
|
|
+ lineBotApi.reply_message(
|
|
|
|
+ event.reply_token,
|
|
|
|
+ TextSendMessage(text='您本月營收為9,287元'))
|
|
|
|
|
|
|
|
|
|
#if __name__ == "__main__":
|
|
#if __name__ == "__main__":
|