|
пре 1 недеља | |
---|---|---|
.. | ||
bin | пре 1 месец | |
classes | пре 1 месец | |
conf | пре 1 недеља | |
core | пре 2 недеља | |
depr | пре 1 месец | |
handlers | пре 2 недеља | |
.env.example | пре 1 месец | |
.gitignore | пре 1 месец | |
BotClass.py | пре 1 месец | |
README.md | пре 3 месеци | |
applications.json | пре 3 месеци | |
config.env | пре 1 недеља | |
config.py | пре 1 месец | |
jsonAndRequest.py | пре 1 месец | |
main.py | пре 1 месец | |
order_functions.py | пре 3 месеци | |
requirements.txt | пре 1 месец | |
starter.sh | пре 3 месеци | |
status_changer.py | пре 1 месец | |
status_handlers.py | пре 3 месеци |
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