|
|
6 days ago | |
|---|---|---|
| .. | ||
| bin | 1 month ago | |
| classes | 2 months ago | |
| conf | 1 month ago | |
| core | 6 days ago | |
| depr | 1 year ago | |
| generated_handler_blocks | 6 days ago | |
| generated_handlers | 6 days ago | |
| handlers | 6 days ago | |
| .env.example | 2 months ago | |
| .gitignore | 1 week ago | |
| BotClass.py | 1 year ago | |
| README.md | 1 year ago | |
| applications.json | 1 year ago | |
| config.env | 3 months ago | |
| config.py | 6 days ago | |
| jsonAndRequest.py | 1 year ago | |
| main.py | 1 week ago | |
| order_functions.py | 1 year ago | |
| requirements.txt | 1 year ago | |
| starter.sh | 1 month ago | |
| status_changer.py | 1 year ago | |
| status_handlers.py | 1 year ago | |
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