Skip to content

A Python Telegram Bot that works as a helpdesk software.

License

Notifications You must be signed in to change notification settings

iauctb/helpdeskbot

 
 

Repository files navigation

HelpDesk Bot

A Python Telegram Bot that works as a helpdesk software.

When a client sends a support message to the bot, it forwards the message to you or your company's group and you can reply it. Replying the message makes the bot reply the client.

  1. The client talks to the bot.
    The client talks to the bot screenshot

  2. The company receives the message and replies it.
    The company receives the message and replies it screenshot

  3. The client receives the answer and the process continues.
    The client receives the answer screenshot

Installation

  1. Install the requirements
    $ pip install -r requirements.txt
    $ sudo apt-get install redis-server
  1. Setup your bot token and the chat to which it will forward messages in the config.ini file.

  2. Run the redis-server

    $ redis-server
  1. In another instance, open the Python shell and run:
    from main import updater
    updater.start_polling()

As long as you want your bot responding, keep this running. When you want to stop, just run:

    updater.stop()

PS: Keep in mind that you will have to generate the locale .mo files.

Contribute

Copyright (C) 2016 Júlia Rizza & licensed under MIT License

TODO :

  • Add Documents for Generating mo files from po files
  • Generate po file for Persian Language
  • Write Documents about user_id
  • Write Documents about creating a virtualenv for project
  • Restructuring main.py so it can be run like this : python main.py
  • Discuss how to handle multiple operators

About

A Python Telegram Bot that works as a helpdesk software.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%