The unofficial official alwaysAI discord bot repo!
- discord.py
- Pillow
- psutil
- sphinx
- imgkit
- wkhtmltoimage.exe
png - images used for embeds
help.json - data used by the help embed
errors.json - data used by any errors outputted
aliases.json - model aliases. Feel free to add to this file any new models or new custom aliases.
admins.json - Discord IDs for people you want to be able to use: *sys
, *cog
and *eval
.
- Add in the data folder a
token.secret
file put within it the bots token. It is essentially just a text file with a different extension. - Run the wkhtmltoimage.exe installer and install it into a folder called wkhtmltopdf. The path to
wkhtmltoimage.exe
should berepoPath/wkhtmltopdf/bin/wkhtmltoimage.exe
- Run in terminal in the repo
aai user login
and provide the right details - On the alwaysai website create a new project from scratch.
- Run in terminal in the repo
aai app configure --project <Project ID>
where<Project ID>
is the Project ID provided on your project page and selectYour local computer
- Run in terminal in the repo
aai app install
to get the Python venv and appropriate models - Run in terminal in the repo
cd venv/scripts
- Run in terminal in the repo
activate
- Run in terminal in the repo
pip install -r ../../data/requirements.txt
To start running the bot run run.bat
.