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
Release history Release notifications | RSS feed
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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aqualink-1.0.0.tar.gz.
File metadata
- Download URL: aqualink-1.0.0.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a1620de24802dfbaf0cdb2f4683adbb913faff0b534bbb7ff608de6c562672c
|
|
| MD5 |
21f848e3f6cea9978be6faba341ca9c4
|
|
| BLAKE2b-256 |
582435f9706232124d3109c1e96a6a2b6b74c4435208b6d00f96edf22aa4ed33
|
File details
Details for the file aqualink-1.0.0-py3-none-any.whl.
File metadata
- Download URL: aqualink-1.0.0-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7532a8b387a0d46a5f65dbe52d5982bb7f0875fa23ae18a1bd2ee714761236b1
|
|
| MD5 |
62833e1ec76cae4d0154f4f5d1090639
|
|
| BLAKE2b-256 |
c1bd187b9ee5cb34e486d90906eb69e275f7dea3773d8ea66d750c1d903f7fba
|