mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
2c180f39b706d532072e5d2f76e630ac906b5ba7
Agreement
If you self-host this you're nuts.
Installing
Only Linux-based systems can run Xiao. She will not run on Windows or Mac.
- Install Node.js (you will need at least v15.0.0).
- Run
apt install gitto install git. - Clone this repository with
git clone https://github.com/dragonfire535/xiao.git. - Run
cd xiaoto move into the folder that you just created. - Create a file named
.envand fill it out as shown in.env.example. - Run
apt updateandapt upgradeto install the latest dependencies of your distro. - Run
apt install pythonto install python. - Run
apt install ffmpegto install ffmpeg. - Follow these instructions to install the dependencies for
node-canvas. - Run
apt install liblqr-1-0-dev liblqr-1-0to install liblqr (needed for ImageMagick). - Follow these instructions to install ImageMagick.
- Follow these instructions to set up Redis. Remember to set up a password!
- Run
apt install libtoolso sodium can compile if necessary. (Optional) - Download the NSFW model and extract the contents to
<xiao folder>/tf_models/nsfw. - Run
apt install wineto install wine. - Run
dpkg --add-architecture i386to allow installation of wine32. - Run
apt updateagain. - Run
apt install wine32to install wine32. - Run
apt install xvfbto install xvfb. - Run
npm i --productionin the folder you cloned the bot. - Run
npx parse-domain-updateto update the domain list forparse-domain. - Run
npm i -g pm2to install PM2. - Run
pm2 start Xiao.js --name xiaoto run the bot.
Description
Xiao is a Discord bot coded in JavaScript with discord.js. With over 500 commands, she is one of the most feature-rich bots out there. Formerly XiaoBot.
Languages
JavaScript
99.9%