aqualink-1.0.0
توضیحات
A better Python lavalink client
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | aqualink-1.0.0 |
| نام | aqualink |
| نسخه کتابخانه | 1.0.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Gelbpunkt & F4stZ4p |
| ایمیل نویسنده | aqualink@is-the.best |
| آدرس صفحه اصلی | https://github.com/nanipy/aqualink |
| آدرس اینترنتی | https://pypi.org/project/aqualink/ |
| مجوز | MIT |
# 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
```py
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
```
نیازمندی
| مقدار | نام |
|---|---|
| - | websockets |
| - | aiohttp |
| - | ujson |
نحوه نصب
نصب پکیج whl aqualink-1.0.0:
pip install aqualink-1.0.0.whl
نصب پکیج tar.gz aqualink-1.0.0:
pip install aqualink-1.0.0.tar.gz