Skip to content

amax3se/Max_Support_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Max_Support_bot

Max bot for support. Helps the people to connect to customers through the bot. Based on repository by Mikhail Klimenko. Honestly, all the code is his, I have only added communication with the group and the greeting message.

Features

  • Works with max-bot-api
  • Connect the user with the group of owners
  • Stores message history with the SQL databse

Requirements

  • Node.js
  • Max bot with API access

Installation

  1. Clone the repository:
    git clone https://github.com/amax3se/Max_Support_bot.git
    cd Max_Support_bot
  2. Set up environment variables:
    • Copy .env.example to .env
    • Fill in your Max bot token

Usage

  1. node bote.js
  2. Add bot to the group.
  3. Customer
    1. Writes smth to bot.
    2. If he/her writes to bot for the first time, then bot answers him with the greetings message.
    3. Bot forward message to the moderators group.
  4. Moderator
    1. Sees customer message in group.
    2. Replies to the message.
    3. Bot forward message to the customer.
  5. Repeate

Technologies

  • Javascript
  • max-bot-api library
  • Database

License

MIT

About

Max bot for support. Helps the people to connect to customers through the bot.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors