Skip to content

emebas/chat-guard

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chat guard

This integration deactives chat for specified rules e.g. unknown user-agent.

Installation

  1. Run
npm i
  1. Create an app in Developer Console.
  2. Create Authorization building block (server-side).
  3. Write down client_id and client_secret.
  4. Run
cp .env.template .env
  1. Populate .env.
  2. Run
npm start

Homework

💸 Complete the task, submit a PR, and get $50 added to your Developer Program account. Developer Terms apply.

Task description

Using the Agent Chat API, send a message visible only to the agent with the following body: [chat-guard] Chat closed due to incorrect user agent

Happy coding! 🤓

Cat typing real fast

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%