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