Skip to content

Introduction

Discolink is the client sitting between your bot and Lavalink. It handles communication with Lavalink, syncs with voice events from Discord, and gives you a queue-based playback API — so you write bot logic, not protocol code.

  • Multi-node support with automatic reconnection
  • Local and remote player state syncing with Lavalink
  • Fully typed high-level playback methods and filter API
  • Manual or automatic node selection with failover for queues
  • Automatic syncing of Lavalink players to gateway voice updates
  • TypeScript module augmentation for common interfaces and data shapes
  • Plugin system for integrating Lavalink server plugins or adding your own logic
  • Discolink is not a framework. No implicit destruction of queues or voice connections, you get to decide when cleanup or resource management is necessary.
  • Session resumption is not built in — the right implementation depends on your scale and persistence layer. The session resumption page discusses this further.