|
6 天之前 | |
---|---|---|
.. | ||
bin | 3 周之前 | |
classes | 3 周之前 | |
conf | 1 月之前 | |
core | 3 周之前 | |
depr | 1 月之前 | |
handlers | 6 天之前 | |
.env.example | 1 月之前 | |
.gitignore | 1 月之前 | |
BotClass.py | 1 月之前 | |
README.md | 2 月之前 | |
applications.json | 2 月之前 | |
config.py | 3 周之前 | |
jsonAndRequest.py | 1 月之前 | |
main.py | 1 月之前 | |
order_functions.py | 2 月之前 | |
requirements.txt | 1 月之前 | |
starter.sh | 2 月之前 | |
status_changer.py | 1 月之前 | |
status_handlers.py | 2 月之前 |
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