blezz-tech e4a1f64e5c add list handlers il y a 1 mois
..
bin 3f33298297 add params for all request il y a 2 mois
classes ccb3cf5dc7 fix model il y a 2 mois
conf 9b8bb94abb move handler template to conf repo il y a 1 mois
core 7b43075b98 fix problems il y a 1 mois
depr 29db545938 using Ticket, delete Ticket_user il y a 2 mois
handlers 7b43075b98 fix problems il y a 1 mois
.env.example cf4d0316d3 add .env.example il y a 2 mois
.gitignore 5a4d79088b update .gitignore il y a 2 mois
BotClass.py 2a6826044c refactoring logs il y a 2 mois
README.md a36b67c584 format code using pycharim il y a 4 mois
applications.json a36b67c584 format code using pycharim il y a 4 mois
config.env e4a1f64e5c add list handlers il y a 1 mois
config.py 49d8f1f647 create TicketRequester il y a 2 mois
jsonAndRequest.py 7e40416897 move function to another module il y a 2 mois
main.py acde22f8b1 move JabberBot and SystemdKiller to core folder il y a 2 mois
order_functions.py a36b67c584 format code using pycharim il y a 4 mois
requirements.txt 27bdbbcbaa install library dotenv il y a 2 mois
starter.sh ae1eec0647 rename functions il y a 4 mois
status_changer.py 29db545938 using Ticket, delete Ticket_user il y a 2 mois
status_handlers.py a36b67c584 format code using pycharim il y a 4 mois

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/