-
Notifications
You must be signed in to change notification settings - Fork 3
Installation of the bot
Jetsurf edited this page Oct 30, 2021
·
14 revisions
Python 3.8 or higher is required. Due to this requirement, it is highly recommended that your distro of choice supports this out of the box.
Pull down the bot repo from github
cd jet-bot```
Use pip3 to setup the required python libraries
`pip3 install -r requirements.txt`
At the time of writing, the pip3 provided installation of pycord is not supported, do a git install with the following
```cd ..
git clone https://github.com/Pycord-Development/pycord.git
cd pycord
pip3 install .[voice]
cd ../jet-bot```
systemd service(?)
## Web Host Explaination
Needs a local webhost running. Images and ACNH profile pictures are only features affected not using this.
- ACNH temp dir
- Add bot service user to local web service user group
- Copy jet-bot/db-files to root of webserver directory
- Ensure bot user can write to $WEBDIR/db-files/acprofiles
- HTTPS Required for discord embeds
- This is why we we aren't providing a web host with the bot
- Certbot highly recommended