blezz-tech 532d076fca reminder for tickets with status IN_PROCESS 1 month ago
..
BotClass.py 79ce9c5717 new handler for tickets 7 months ago
README.md 79ce9c5717 new handler for tickets 7 months ago
config.py 532d076fca reminder for tickets with status IN_PROCESS 3 weeks ago
gen-passwords.py 79ce9c5717 new handler for tickets 7 months ago
gen_users 79ce9c5717 new handler for tickets 7 months ago
gen_web_users.py 79ce9c5717 new handler for tickets 7 months ago
jsonAndRequest.py 532d076fca reminder for tickets with status IN_PROCESS 3 weeks ago
open_basic_bot.py 79ce9c5717 new handler for tickets 7 months ago
requierments.txt 79ce9c5717 new handler for tickets 7 months ago
st_request_assigned.py a79b64f709 pipe for saving handlers 1 month ago
st_request_done.py a79b64f709 pipe for saving handlers 1 month ago
st_request_in_process.py 532d076fca reminder for tickets with status IN_PROCESS 3 weeks ago
st_request_new.py a79b64f709 pipe for saving handlers 1 month ago
st_request_wontfix.py a79b64f709 pipe for saving handlers 1 month ago
status_changer.py 79ce9c5717 new handler for tickets 7 months ago
status_handlers.py 79ce9c5717 new handler for tickets 7 months ago

README.md

Open Template Bot

Simple example for processing orders

Install and run

  1. Rename config_template.py to config.py
  2. Create env

    python -m venv env #for Windows
    python3 -m venv env #for Linux
    
  3. Activate env

    .\env\Scripts\activate #Windows
    source env/bin/activate #Linux
    
  4. Instatt requirements

    pip3 install -r requirements.txt
    
  5. Run Bot

    python3 open_template_bot.py
    

Testing

https://democonv.sharix-app.org/ - testing client

Users recommended for testing

user: test@ej.sharix-app.org user: test1@ej.sharix-app.org

Useful commands for Ejabberctl while testing Bot

ejabberdctl register $username ej $password

ejabberdctl change-password User Host newPassword

ejabberdctl check_account user1 localhost

ejabberdctl unregister badlop3 localhost
ejabberdctl registered_users localhost
ejabberdctl help registered_users

Create MUC room

ejabberdctl create_room room_name muc_service xmpp_domain

Destroy MUC room

#ejabberdctl destroy_room room_name muc_service

List unused MUC rooms

ejabberdctl rooms_unused_list xmpp_domain number_of_days

https://docs.ejabberd.im/admin/ejabberdctl/muc-admin/