Skip to content

A simple discord music bot written in Rust.

License

Notifications You must be signed in to change notification settings

XToripuru/crusty

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crusty

A simple discord music bot written in Rust.

Functionalities

  • Playing from youtube url
  • Playing from youtube query
  • Nicely formatted embed messages
  • Seeking forward
  • Skipping songs
  • Queue
  • Playlist support
  • New platforms support (Spotify, Soundcloud)
  • Own queue implementation

Commands

  • play (aliases: p) [url | query] - plays video from url or searches for it with given query or adds it to queue
  • join (revive) - joins the voice channel author of the message is currently in
  • skip (fs, s) - skips the currently played song
  • seek (forward) [secs] - skips specified number of seconds in the song

Requirements

The requirements are the same as for songbird. You can skip the yt-dlp part if you don't want to have youtube playlist support.

Installation

  • Download the repo via a git clone command or a zip source code
  • Add a DISCORD_TOKEN variable to your environment
  • Go to the project directory and run cargo run -r command

Why Symphonia built from source?

Symphonia have problems with seeking forward in webm files for only a couple of seconds (perhaps a bug) so this version is fixed to support that.

About

A simple discord music bot written in Rust.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 99.9%
  • Python 0.1%