Skip to content

aarroz/rice_bot2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A discord bot written in Rust.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages