Skip to content
This repository was archived by the owner on Nov 28, 2022. It is now read-only.

Add Lavalink support #22

@NNTin

Description

@NNTin

Issue Type

  • Bug
  • Enhancement
  • Feature Suggestion
  • Crash

Application

  • Discord Bot Client
  • Websocket API
  • Hotkey Client
  • Web Interface

Description

Add lavalink support. https://github.com/Frederikam/Lavalink (https://github.com/sedmelluq/lavaplayer)
The current issue with Yuri is that you have to restart the bot after you've been running it for a while. It gets slower and slower.
Lavalink should solve this problem. It's a proven solution used by Rythm, RedDiscord-Bot, Dyno, Fredboat, ... .
It's a solution written in java but you can treat it as a blackbox. There are clients written in python, javascript, java, etc. .
You download the .jar file and run the server with java -jar Lavalink.jar. Configuration of the lavalink server is done via application.yml.
On your Discord Bot you connect to the lavalink server by providing the hostname, the port and the password.

The massive advantage is you have a really performant audio player with low memory footprint

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions