Skip to content
forked from nanipy/aqualink

A better Python lavalink library

License

Notifications You must be signed in to change notification settings

souranild/aqualink

 
 

Repository files navigation

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.aqualink.connect(password="youshallnotpass", ws_url="ws://localhost:2333", rest_url="http://localhost:2333")

# later
p = bot.aqualink.get_player(ctx.guild.id) # get the player object
await p.connect(ctx.author.voice.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(aqualink.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

About

A better Python lavalink library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%