Git Product home page Git Product logo

wow_chatbot's Introduction

WOW_chatbot

FSM

Alt text

設定

我是在MAC OS X上使用python 3去完成這次作業,一開始要確定系統有安裝python-telegram-bot, Graphviz, pygraphviz, ngrok才可執行程式

一開始先到Terminal輸入ngrok http 8000, 然後複制它所派給的URL, 再放到app.py中的 status = bot.set_webhook()

執行

設定後在terminal輸入python3 app.py執行

在Telegram chatbot對話輸入 "hello" 它便會顯示出使用的指引

在menu state內輸入1會顯示新書推介

輸入2會進入書本預約的state

輸入3會進入自修室預約的state

輸入4會進入查看已預約的書或自修室的state

在任何情況下輸入exit()都會馬上回到menu state

wow_chatbot's People

Contributors

choi9798 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.