Dragon Fire 2677101c0d Fix
2021-05-18 21:47:22 -04:00
2021-04-29 17:55:29 -04:00
2021-05-16 13:15:08 -04:00
2021-05-18 20:57:04 -04:00
Fix
2021-05-18 21:47:22 -04:00
2021-04-25 23:03:59 -04:00
2021-05-02 21:18:27 -04:00
2021-05-18 18:09:28 -04:00
2021-03-14 14:09:41 -04:00
2021-05-18 19:56:45 -04:00
2017-09-12 22:58:38 +00:00
2021-05-18 18:09:28 -04:00
2021-05-03 17:37:49 -04:00
Fix
2021-05-18 19:58:04 -04:00

Agreement

You are not to publish this code to the public under any circumstance. It is private, and if found on the web you may be held liable in court. Xiao is not licensed, meaning her code is completely under copyright. No one is allowed to use any part of her code under any circumstance unless given explicit permission from the copyright holder.

I, as the copyright holder, grant you the ability to use it as a reference point for your projects and allow you to use the code as a learning tool. You may take ideas and reformat code into another library, but you may not simply copy and self-host the code, unless the bot using it is COMPLETELY PRIVATE. This means it cannot be added to any servers but those of the bot owner.

If a public bot is found using Xiao's code it will be reported to Discord and removed.

Please don't push to the repository. It will simply be reverted and your rights to view it will be removed. Git is a powerful tool, so don't try your luck on this one.

Installing

Only Linux-based systems can run Xiao. She will not run on Windows or Mac.

  1. Install Node.js (you will need at least v15.0.0).
  2. Run apt install git to install git.
  3. Clone this repository with git clone https://github.com/dragonfire535/xiao.git.
  4. Run cd xiao to move into the folder that you just created.
  5. Create a file named .env and fill it out as shown in .env.example.
  6. Run apt update and apt upgrade to install the latest dependencies of your distro.
  7. Run apt install python to install python.
  8. Run apt install ffmpeg to install ffmpeg.
  9. Follow these instructions to install the dependencies for node-canvas.
  10. Run apt install liblqr-1-0-dev liblqr-1-0 to install liblqr (needed for ImageMagick).
  11. Follow these instructions to install ImageMagick.
  12. Follow these instructions to set up Redis. Remember to set up a password!
  13. Run apt install libtool so sodium can compile if necessary. (Optional)
  14. Download the NSFW model and extract the contents to <xiao folder>/tf_models/nsfw.
  15. Run apt install wine to install wine.
  16. Run dpkg --add-architecture i386 to allow installation of wine32.
  17. Run apt update again.
  18. Run apt install wine32 to install wine32.
  19. Run apt install xvfb to install xvfb.
  20. Run npm i --production in the folder you cloned the bot.
  21. Run npx parse-domain-update to update the domain list for parse-domain.
  22. Run npm i -g pm2 to install PM2.
  23. Run pm2 start Xiao.js --name xiao to run the bot.
S
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.
Readme 411 MiB
Languages
JavaScript 99.9%