|
|
3 years ago | |
|---|---|---|
| .gitignore | 3 years ago | |
| BotClass.py | 3 years ago | |
| README.md | 3 years ago | |
| applications.json | 3 years ago | |
| config_template.py | 3 years ago | |
| gen-passwords.py | 3 years ago | |
| gen_users | 3 years ago | |
| gen_web_users.py | 3 years ago | |
| jsonAndRequest.py | 3 years ago | |
| loggingConfig.py | 3 years ago | |
| open_template_bot.py | 3 years ago | |
| requirements.txt | 3 years 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