PieInOblivion's JS Discord bot written in Rust this time.
- Multi-server compatibility
- Slash command
- A unique queue system in which individual song requests take priority above playlists and albums
- Automatically leaves the voice channel when it's alone (Has the side effect of being able to stop it by moving it into an empty voice channel)
- Youtube text searching, urls and playlist urls
- Spotify songs, albums and user playlists
- Rock, Paper, Scissors vs the bot
/play (Youtube search, YouTube song url, YouTube playlist url, Spotify song url/uri, Spotify album url/uri, Spotify playlist url/uri)
/np
/skip
/pause
/resume
/stop
/queue
/remove
/rps rock
/rps paper
/rps scissors
-
Clone this repo:
git clone https://github.com/PieInOblivion/PieBotReborn.git
-
Create a folder named
secret
in the projects root directory. You can also renamesecret_example
and edit the required files -
Inside this
secret
folder create/edit these files:discord
which stores your Discord API Keyguilds
which stores theServer ID
of each server you want the bot the listen to, each seperated by a new line- Note: Discord has built-in tools for limiting slash commands to certain roles and channels
youtube
which stores your Youtube API KeyspotifyId
which stores your Spotify Web API / Client IDspotifySecret
which stores your Spotify Web API Client Secretrps
with0 0
. For global tracking of our rock, paper, scissors scores
-
Run
cargo b --release
to compile. The compiled binary will contain your API keys, so keep it safe. The only file that must remain after compilation is therps
file -
cargo r --release
to run