Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

Lavalink client library for Maki-DiscordBot

Project description


A Lavalink client library written for Python 3.5 using the AsyncIO framework.
This library may be used for other projects as it contains no Maki specific code or logic.

However, it is important to note that this library only supports projects using

To install::

pip install maki-lavalink


.. code-block:: python

import lavalink
from discord.ext.commands import Bot

bot = Bot()

async def on_ready():
bot, host='localhost', password='password',
rest_port=2332, ws_port=2333

async def search_and_play(voice_channel, search_terms):
player = await lavalink.connect(voice_channel)
tracks = await player.search_yt(search_terms)

When shutting down, be sure to do the following::

await lavalink.close()

Project details

Release history Release notifications

This version
History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
Maki_Lavalink-0.2.0-py3-none-any.whl (12.6 kB) Copy SHA256 hash SHA256 Wheel py3
Maki-Lavalink-0.2.0.tar.gz (10.4 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page