Added installer script. Fixed simplematrixbotlib stability issue in api.py

This commit is contained in:
Hash Borgir 2024-02-12 19:48:09 -07:00
parent 8e20436570
commit 2a6cbecd28
3 changed files with 13 additions and 4 deletions

3
.gitignore vendored
View File

@ -5,4 +5,5 @@ proxies.db
session.txt
socks5.txt
venv/
plugins/__pycache__/
plugins/__pycache__/
simplematrixbotlib/

View File

@ -11,7 +11,16 @@ Matrix Bot is a Python-based chat bot designed to work with Matrix, an open netw
- Plugin system: Each command is implemented as a separate plugin module, allowing for easy customization and extension.
- Extensible: Users can add new commands by creating additional plugin modules.
## Installation
## Automatic Installation
1. `./install.sh` or `bash install.sh`
2. Set up environment variables:
Put your bot homeserver/user/pass in `.env` file
3. Launch the bot:
`python funguy.py`, or `chmod +x funguy.py`, then `./funguy.py`
## Manual Installation
1. Clone the repository:
`git clone https://git.stoned.io/hash/FunguyBot`
@ -29,7 +38,7 @@ MATRIX_PASS=""
```
4. Run the bot:
`python funguy.py`, or `chmod +x funguy.py`, then `./funguy.py` in the bot directory.
`python funguy.py`, or `chmod +x funguy.py`, then `./funguy.py`
## Usage

View File

@ -29,7 +29,6 @@ pytube==15.0.0
referencing==0.33.0
requests==2.31.0
rpds-py==0.17.1
simplematrixbotlib==2.10.3
toml==0.10.2
unpaddedbase64==2.1.0
urllib3==2.2.0