Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/randomairborne/hypersonic
lil mp3 music bot
https://github.com/randomairborne/hypersonic
discord music-player rust
Last synced: 20 days ago
JSON representation
lil mp3 music bot
- Host: GitHub
- URL: https://github.com/randomairborne/hypersonic
- Owner: randomairborne
- Created: 2023-05-01T04:21:46.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-20T19:49:32.000Z (7 months ago)
- Last Synced: 2024-10-13T11:49:47.876Z (about 1 month ago)
- Topics: discord, music-player, rust
- Language: Rust
- Homepage:
- Size: 174 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hypersonic
hypersonic is a discord music bot written in [rust](https://rust-lang.org).
hypersonic is designed to play music files on loop in one VC.
create a music folder, with your files and a file called `meta.json`. That file should look something like this:
```json
[
{
"name": "11",
"artist": "C418",
"album": "Minecraft: Volume Beta",
"file": "11.mp3"
},
{
"name": "13",
"artist": "C418",
"album": "Minecraft: Volume Beta",
"file": "13.wav"
}
]
```This example would load `11.mp3` and `13.wav` from the music folder, and play them.
Then, create a .env file (or otherwise set the environment):
```dotenv
DISCORD_VC=
DISCORD_GUILD=
DISCORD_TOKEN=
```You can use this command to run the bot in docker:
```bash
docker run ghcr.io/randomairborne/hypersonic:latest --env-file .env --volume ./music/:/music/
```