Dasi (pronounced /ˈdɑːsi/) is a Discord chat client's API.
See the documentation!
Note: libsodium and libopus aren't needed, if you don't parse the voice feature
sudo -s
apt-get install libsodium18 libsodium-dev libopus0 libopus-dev libssl-dev
If you're using MinGW on 64-bit. Run this in MinGW, to install all the requirements:
pacman -S mingw-w64-x86_64-pkg-config mingw-w64-x86_64-libsodium mingw-w64-x86_64-gcc mingw-w64-x86_64-openssl mingw-w64-x86_64-opus
Add this your Cargo.toml:
[dependencies]
dasi = {git = "https://github.com/tifalch/dasi-rs.git"}
To create a Discord client for your Bot to control you need to call Discord::from_bot_token("YOUR-TOKEN")
This is historically based on SpaceManiac/discord-rs