Giter Club home page Giter Club logo

chatbot's Introduction

---l'équipe TAM-EISTI proudly presents TAM -------------

**** Notice d'utilisation     **************************
1. A installer depuis internet:
nodejs
mysql (pour mac uniquement)

2. pip install (a partir du cmd ou terminal)
slackclient
flask
pyee
mysql_connector
datetime
pandas
tkinter

3. npm install
npm install -g localtunnel

4. pour generer l'url (dans le cmd ou terminal):
lt --port 3000 --subdomain chatbot


5. remplacer les urls sur https://api.slack.com/apps (normalement c'est deja fait) 
(pour pouvoir changer les urls il faut faire parti des collaborateurs de l'app)

Dans les rubriques :
_ Interactive Components > Request URL
_ OAuth & Permissions > Redirect URLs
_ Event Subscriptions > Request URL
Remplacer les urls par:
https://chatbot.localtunnel.me/slack/events



*******  Pour utiliser avec Ngrok (serveur en local) *************
0 Clone repository
1 Start Ngrok.exe
  ngrok http 3000 (3000 is number of port)
  Get the second forwarding url, starting with https (let's call it Url)

2 Start serverSlack.py (sur cmd : python serverSlack.py )

3 in https://api.slack.com/apps:
- Event Subscriptions:
	_ Enable Events (ON)
	_ Request URL = Url/slack/events (ex: https/sfsdf46.ngrok.io/slack/events)

- OAuth & Permission: 
	_ redirect URL = Url/slack/events
	_ Add Bot User Event:
		_ message.channels (listen to channels)
		_ reaction_added (listen to reaction)
		_ message.im (listen to private msg)

- Interactive Components:
	- Request url: Url/slack/message_actions
	- Options Load URL: Url/slack/message_options (for Message Menus)

chatbot's People

Contributors

nathlamouche avatar jdebec avatar liuvictor95 avatar adrienloustaunaupaloit avatar aliloutina avatar dipiroseba avatar haddadraja avatar kakashiel avatar

Watchers

James Cloos avatar Lionel Mercade avatar Yassin 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.