-
Notifications
You must be signed in to change notification settings - Fork 96
Lavalink Client Parameters
Luke edited this page Oct 1, 2018
·
1 revision
All the functions and parameters of each public object, explained.
Parameter | Type | Description | Default |
---|---|---|---|
bot | Bot/AutoShardedBot | The bot/client that lavalink.py will be used with. | None |
player | BasePlayer | The type of player implementation to use | DefaultPlayer |
shard_count | number | Amount of shards the bot has | 1 |
password | string | The password of the lavalink server | None |
host | string | The IP/Domain of the lavalink server | localhost |
ws_port | number | The port of the lavalink server's websocket | 80 |
rest_port | number | The port of the lavalink server's REST API | 2333 |
ws_retry | number | Number of attempts to reconnect to lavalink's websocket if disconnected | 3 |
loop | UnixSelectorEventLoop | The loop to be used for background tasks (ONLY SPECIFY THIS IF YOU KNOW WHAT YOU'RE DOING) | asyncio.get_event_loop() |
log_level | int | Lavalink.py's log threshold level | logging.INFO |