Skip to content

Latest commit

 

History

History
executable file
·
39 lines (31 loc) · 1.47 KB

README.md

File metadata and controls

executable file
·
39 lines (31 loc) · 1.47 KB

rice_bot2

A discord bot written in the programming language Rust based off the Discord-rs library.

Travis Build Status

Dependencies

Required libraries to install in order to use the bot.

pkg-config libsodium opus openssl ffmpeg youtube-dl (sometimes libssl-dev)

For Ubuntu 16.04 LTS

sudo apt install pkg-config libsodium-dev libopus-dev openssl ffmpeg youtube-dl

Using Pip for youtube-dl is recomended.

For Fedora 27

sudo dnf install pkg-config libsodium-devel opus-devel compat-openssl10-devel ffmpeg youtube-dl

Using compat-openssl10-devel instead of openssl-devel package since Fedora is ahead in OpenSSL version and incompatible with Rust OpenSSL package.

ffmpeg is only avaliable through RPMFusion.

For OpenSUSE Tumbleweed

sudo zypper install pkg-config libsodium-devel libopus-devel libopenssl-devel youtubedl ffmpeg

Installation

  • Install Rust.
  • Install the required dependencies.
  • Either git clone https://github.com/aarroz/rice_bot2.git or download the zip and extract.
  • Use Cargo in the folder.
  • Use cargo build to compile a debug version of the bot.
  • Use cargo run DISCORD_TOKEN=<insert bot token> to run the bot and connect it to the bot account.