david.berlinskiy a79b64f709 pipe for saving handlers | hai 2 meses | |
---|---|---|
.. | ||
BotClass.py | hai 7 meses | |
README.md | hai 7 meses | |
config.py | hai 2 meses | |
gen-passwords.py | hai 7 meses | |
gen_users | hai 7 meses | |
gen_web_users.py | hai 7 meses | |
jsonAndRequest.py | hai 2 meses | |
open_basic_bot.py | hai 7 meses | |
requierments.txt | hai 7 meses | |
st_request_assigned.py | hai 2 meses | |
st_request_done.py | hai 2 meses | |
st_request_new.py | hai 2 meses | |
st_request_wontfix.py | hai 2 meses | |
status_changer.py | hai 7 meses | |
status_handlers.py | hai 7 meses |
Create env
python -m venv env #for Windows
python3 -m venv env #for Linux
Activate env
.\env\Scripts\activate #Windows
source env/bin/activate #Linux
Instatt requirements
pip3 install -r requirements.txt
Run Bot
python3 open_template_bot.py
https://democonv.sharix-app.org/ - testing client
user: test@ej.sharix-app.org user: test1@ej.sharix-app.org
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
ejabberdctl create_room room_name muc_service xmpp_domain
#ejabberdctl destroy_room room_name muc_service
ejabberdctl rooms_unused_list xmpp_domain number_of_days