Skip to main content

A better Python lavalink client

Project description

aqualink

A better Python lavalink library made for use in discord.py rewrite or discord.jspy bots.

It has an easy to use and very fast interface that is very dynamic.

Installation

pip3 install aqualink

Basic Usage

import aqualink

aqualink.Connection(bot)
await bot.waterlink.connect(password="youshallnotpass", ws_url="ws://localhost:2333", rest_url="http://localhost:2333")

# later
p = bot.waterlink.get_player(ctx.guild.id) # get the player object
await p.connect(ctx.voice_client.channel.id) # connect to the author's VC 
tracks = await p.query("ytsearch: hello Adele") # get a list of Track objects
await p.play(tracks[0]) # play the first match
await p.set_eq(waterlink.Equalizer.bassboost().ultra) # equalizer support! Ultimate bassboost preset
print(p.track.title, p.track.thumbnail) # print the currently playing track title and thumbnail
# and so on

Project details


Download files

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

Source Distribution

aqualink-1.0.0.tar.gz (6.5 kB view hashes)

Uploaded Source

Built Distribution

aqualink-1.0.0-py3-none-any.whl (8.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page