Skip to content

Latest commit

 

History

History
49 lines (30 loc) · 1.27 KB

README.md

File metadata and controls

49 lines (30 loc) · 1.27 KB

Bot logo

Xiao-Xia with rust

🧐 About

Trying to rebuild Xiao-Xia with rust

Progress

  1. Music Bot

🚀 Deploying your own bot

If you want to build your own bot, the bot is develop base on rust. rust is require for installation, ffmpeg for audio procession and yt-dlp for youtube video downloading. Here are the procedure to run Xiao-xia with rust locally.

  1. Add personal discord token

    Edit .env_example and rename the file to .env

  2. Install ffmpeg

    For Windows: tutorial

    For Mac: brew install ffmpeg

    For Linux : sudo apt-install ffmpeg

  3. Install yt-dlp

    You can use pip install yt-dlp if pip is installed otherwise

  4. Run

    cargo check
    cargo run
    
  5. Run with docker

    docker build -t xiao-xia-rust .
    docker run -d xiao-xia-rust