A Python Telegram Bot that works as a helpdesk software.
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 2 commits ahead of juliarizza:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
locale/pt_BR/LC_MESSAGES
screenshots
.gitignore
LICENSE
README.md
config.ini
main.py
requirements.txt

README.md

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