/chatbot_line

Line Python chatbot

Primary LanguagePythonMIT LicenseMIT

LIN,ZI-CHAO's(林資超) Chatbot

Runtime Environment

  • Python 3.6.2

Cloud Platform

  • Heroku

How to Use

When you add ZI-CHAO's Chatbot as a friend, the Chatbot will send you a greeting message. Furthermore, you will see a button menu below.

If you click the button "了解資超", Chatbot will send you personal infomation menu about ZI-CHAO.

If you click the button "所有功能", Chatbot will send you the menu of all extra features.

How to Build your own Chatbot

Preparation

Configuration

You have to set Config Variables "ACCESS_TOKEN" and "SECRET" in Heroku.

  # Channel Access Token
  line_bot_api = LineBotApi(os.environ.get('ACCESS_TOKEN'))
  # Channel Secret
  handler = WebhookHandler(os.environ.get('SECRET'))

Setting your own message

You can set your Chatbot's keyword response in LINE@ MANAGER.

You can also set your Chatbot's richmenu in LINE@ MANAGER.

Reference

License

Licensed under the MIT License.