https://github.com/freyacodes/hackweek2019
https://github.com/freyacodes/hackweek2019
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/freyacodes/hackweek2019
- Owner: freyacodes
- License: mit
- Created: 2019-06-24T16:04:16.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-12T22:03:33.000Z (almost 7 years ago)
- Last Synced: 2025-03-14T12:44:30.000Z (over 1 year ago)
- Language: Kotlin
- Size: 150 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# FredBoat Improved Edition

FredBoat Improved Edition is the Discord music bot that is arguably 400% as good as any other bot, given that it can play 400% as much music as other bots using our new advanced audio mixing technology (which I totally didn't copy from GitHub).
See more: https://hackweek.fredboat.com/
## I'm brave enough to selfhost this thing
*(We'll see about that.)*
Requirements:
* You'll need JDK 11 to compile this thing.
* We use a native audio sender to escape the evil grasp of the garbage collector.
This might not work on certain systems due to missing binaries, though I believe x86_64 Linux and Windows should be fine.
### Compile the thing
Clone this repository and enter its directory with your terminal, then run this command:
```bash
./gradlew shadowJar
```
> Or `gradlew.bat shadowJar` if you use Windows
Now watch as Gradle downloads itself and automagically teleports all dependencies to your device.
A standalone executable jar will appear at `build/libs/fip-1.0.jar`
### Run the thing
The bot token is read from the `DISCORD_TOKEN` environment variable. There are no other configuration options.
Run it like this:
```bash
DISCORD_TOKEN="NTkzMTMz..." java -jar fip-1.0.jar
```