Slack integrations for slash-command
Just type the slash command link with the desired keyword, as shown below.
/link guia
Keyword | Expected Result |
---|---|
todos | Return all available links |
valores | Return Valores Link |
malote, malotes | Return Malote Link |
guia | Return Guia de Sobrevivência link |
viagem, viagens | Return Viagens link |
benefício, beneficio, benefícios, beneficios, salário, salario | Return Salário & Benefícios link |
padrão, padrao, material, materiais, apresentação, apresentacao | Return Materiais Padrão link |
reembolso, reembolsos, adiantamento, adiantamentos | Return Reembolso & Adiantamento link |
departamento pessoal, pessoal, dp | Return Departamento Pessoal link |
evento, eventos, treinamento, treinamentos | Return Eventos & Treinamentos link |
evento, eventos, treinamento, treinamentos | Return Ponto Eletrônico & Horas Extras link |
To run the chai tests for this code use
npm run test
To live serve this code in the browser
node --require dotenv/config server.js
Before serving make sure you have a dotenv file (.env) with the environment variables as dummy links.
Since it´s deployed on Heroku free tier your first usage might render an error due to the fact that the instance was in a dormant state.