Gamebot is a NLP based game recomendation chatbot powerd by Wit-AI, which recommends unlimited games of your choice.
python #3.6 or higher version
Get your FREE API Key @ https://portal.messengerx.io
# For Linux/MacOS
pip3 install machaa
pip3 install wit or pip3 install pywit
# For Windows
pip install machaao
pip install wit or pip install pywit
git clone https://github.com/machaao/gamebot.git
cd gamebot
MESSENGERX_API_TOKEN = "<API_KEY_FROM_PORTAL>"
MESSENGERX_BASE_URL = "https://ganglia-dev.machaao.com" [for development purposes]
or
You can go with defalut setting.
# Create your app at wit.ai and train it for you favourite intent
# navigate to setting of your bot and copy Server Access Token
client=wit("Server_Access_Token") # Copy Access token from wit.ai/app/<app_ID>/setting
or
You can go with default access token
machaao run -t [GAMEBOT-TOKEN]
Your bot should now be available @ [https://dev.messengerx.io/<chatbot_name>] to send a message to your chatbot.
# HappyCoding
machaao tunnel -p 5000 -t [GAMEBOT-TOKEN]
[https://<....>.tunnel.messengerx.io/]
[https://<....>.tunnel.messengerx.io/machaao/incoming]
# For Linux/MacOS
python3 chatbot.py
# For Windows
python chatbot.py