Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/devoxin/Lavalink.py
/ functions
Functions
307 in github.com/devoxin/Lavalink.py
⨍
Functions
307
◇
Types & classes
83
↓ 1 callers
Function
test_pylint
()
run_tests.py:21
↓ 1 callers
Method
update
Note ---- The limits are: 1 < smoothing Parameters ---------- smoothing: :class:`float`
lavalink/filters.py:510
↓ 1 callers
Method
update_state
|coro| .. _state object: https://lavalink.dev/api/websocket#player-state Updates this player's state with the `state object`_ receiv
lavalink/abc.py:98
↓ 1 callers
Method
write_unsigned_short
Writes an unsigned short to the stream. Parameters ---------- short: :class:`int` The unsigned short to
lavalink/dataio.py:216
Method
__eq__
(self, other)
lavalink/server.py:68
Method
__eq__
(self, other)
lavalink/abc.py:337
Method
__ge__
(self, other)
lavalink/__main__.py:137
Method
__getitem__
(self, name)
lavalink/server.py:177
Method
__hash__
(self)
lavalink/abc.py:343
Method
__init__
(self, user_id: Union[int, str], player: Type[PlayerT] = DefaultPlayer,
lavalink/client.py:105
Method
__init__
(self, gains: Sequence[float] = MISSING)
lavalink/filters.py:87
Method
__init__
(self, level: float = 1.0, mono_level: float = 1.0, filter_band: float = 220.0, filter_width:
lavalink/filters.py:169
Method
__init__
(self, speed: float = 1.0, pitch: float = 1.0, rate: float = 1.0)
lavalink/filters.py:262
Method
__init__
(self, frequency: float = 2.0, depth: float = 0.5)
lavalink/filters.py:350
Method
__init__
(self, frequency: float = 2.0, depth: float = 0.5)
lavalink/filters.py:410
Method
__init__
(self, rotation_hz: float = 0.0)
lavalink/filters.py:471
Method
__init__
(self, smoothing: float = 20.0)
lavalink/filters.py:507
Method
__init__
(self, left_to_left: float = 1.0, left_to_right: float = 0.0, right_to_left: float = 0.0, rig
lavalink/filters.py:543
Method
__init__
(self, sin_offset: float = 0.0, sin_scale: float = 1.0, cos_offset: float = 0.0, cos_scale: f
lavalink/filters.py:617
Method
__init__
(self, guild_id: int, node: 'Node')
lavalink/player.py:108
Method
__init__
(self, node: 'Node', status: int, response: dict, params: Dict[str, Any])
lavalink/errors.py:83
Method
__init__
(self, release_json)
lavalink/__main__.py:40
Method
__init__
(self, manager, host: str, port: int, password: str, region: str, name: Optional[str] = None,
lavalink/node.py:73
Method
__init__
(self, player: 'BasePlayer', track: 'AudioTrack')
lavalink/events.py:69
Method
__init__
(self, player: 'BasePlayer', track: 'AudioTrack', threshold: int)
lavalink/events.py:96
Method
__init__
(self, player: 'BasePlayer', track: 'AudioTrack', message: Optional[str], severity: Severity,
lavalink/events.py:129
Method
__init__
(self, player: 'BasePlayer', track: Optional['AudioTrack'], reason: EndReason)
lavalink/events.py:160
Method
__init__
(self, player: 'BasePlayer', track: 'DeferredAudioTrack', original: Optional[Exception])
lavalink/events.py:190
Method
__init__
(self, player: 'BasePlayer')
lavalink/events.py:208
Method
__init__
(self, player: 'BasePlayer', raw_state)
lavalink/events.py:233
Method
__init__
(self, node: 'Node')
lavalink/events.py:253
Method
__init__
(self, node: 'Node', code: Optional[int], reason: Optional[str])
lavalink/events.py:273
Method
__init__
(self, player: 'BasePlayer', old_node: 'Node', new_node: 'Node')
lavalink/events.py:296
Method
__init__
(self, node: 'Node', session_id: str, resumed: bool)
lavalink/events.py:318
Method
__init__
(self, player: 'BasePlayer', code: int, reason: str, by_remote: bool)
lavalink/events.py:346
Method
__init__
(self, data, node: 'Node')
lavalink/events.py:369
Method
__init__
(self, player, original)
lavalink/events.py:387
Method
__init__
(self, client, regions: Optional[Dict[str, Tuple[str]]], connect_back: bool)
lavalink/nodemanager.py:66
Method
__init__
(self, base64_str: str)
lavalink/dataio.py:40
Method
__init__
(self)
lavalink/dataio.py:187
Method
__init__
(self, client, player: Type[PlayerT])
lavalink/playermanager.py:63
Method
__init__
(self, base: float = 1.0, max: float = 30.0)
lavalink/backoff.py:33
Method
__init__
(self, node, host: str, port: int, password: str, ssl: bool, session_id: Optional[str], conne
lavalink/transport.py:64
Method
__init__
(self, data: Union['AudioTrack', Dict[str, Union[Optional[str], bool, int]]], requester: int = 0, **extra)
lavalink/server.py:149
Method
__init__
(self, name: str, selected_track: int = -1)
lavalink/server.py:258
Method
__init__
(self, error: Dict[str, Any])
lavalink/server.py:290
Method
__init__
(self, load_type: LoadType, tracks: Sequence[Union[AudioTrack, 'DeferredAudioTrack']], playli
lavalink/server.py:328
Method
__init__
(self, data: Dict[str, Any])
lavalink/server.py:427
Method
__init__
(self, guild_id: int, node: 'Node')
lavalink/abc.py:72
Method
__init__
(self, name: str)
lavalink/abc.py:334
Method
__init__
(self, values: FilterValueT, plugin_filter: bool = False)
lavalink/abc.py:392
Method
__init__
(self, stats)
lavalink/stats.py:54
Method
__init__
(self, node, data)
lavalink/stats.py:111
Method
__init__
(self)
examples/custom_source.py:29
Method
__init__
(self, client: discord.Client, channel: discord.abc.Connectable)
examples/music.py:30
Method
__init__
(self, bot)
examples/music.py:120
Method
__iter__
(self)
lavalink/nodemanager.py:76
Method
__iter__
Returns an iterator that yields a tuple of (guild_id, player).
lavalink/playermanager.py:74
Method
__le__
(self, other)
lavalink/__main__.py:140
Method
__len__
(self)
lavalink/nodemanager.py:73
Method
__len__
(self)
lavalink/playermanager.py:71
Method
__repr__
(self)
lavalink/client.py:565
Method
__repr__
(self)
lavalink/player.py:704
Method
__repr__
(self)
lavalink/node.py:708
Method
__repr__
(self)
lavalink/common.py:38
Method
__repr__
(self)
lavalink/server.py:206
Method
__repr__
(self)
lavalink/server.py:270
Method
__repr__
(self)
lavalink/server.py:304
Method
__repr__
(self)
lavalink/server.py:405
Method
__repr__
(self)
lavalink/server.py:434
Method
__repr__
(self)
lavalink/abc.py:367
Method
__str__
(self)
lavalink/__main__.py:50
Method
__str__
(self)
lavalink/server.py:87
Method
__str__
(self)
lavalink/server.py:301
Method
__str__
(self)
lavalink/server.py:431
Method
_hook_wrapper
(hook, event)
lavalink/client.py:553
Method
_original_players
Returns a list of players that were assigned to this node, but were moved due to failover etc. Returns ------- Seque
lavalink/node.py:101
Method
add_event_hook
Adds one or more event hooks to be dispatched on an event. Note ---- Track event dispatch order is not guaranteed!
lavalink/client.py:169
Method
add_node
Adds a node to this node manager. Parameters ---------- host: :class:`str` The address of the Lavalink n
lavalink/nodemanager.py:87
Method
available
Returns whether the node has a websocket connection. The node could *probably* still be used for HTTP requests even without a WS conn
lavalink/node.py:93
Method
available_nodes
Returns a list of available nodes. A node is considered available if it has an open WebSocket connection.
lavalink/nodemanager.py:80
Method
change_node
|coro| Changes the player's node Parameters ---------- node: :class:`Node` The node the player is change
lavalink/player.py:661
Method
clear_event_hooks
Clears all registered event hooks from the client.
lavalink/client.py:271
Method
clear_filters
|coro| Clears all currently-enabled filters.
lavalink/player.py:608
Method
cog_command_error
(self, ctx, error)
examples/music.py:140
Method
cog_unload
This will remove any registered event hooks when the cog is unloaded. They will subsequently be registered again once the cog is load
examples/music.py:131
Function
compatible
(release: Release)
lavalink/__main__.py:237
Method
connect
|coro| Initiates a WebSocket connection to this node. If a connection already exists, and ``force`` is ``False``, this will not do an
lavalink/node.py:164
Method
create
(self, guild_id: int, *, region: Optional[str] = ...,
lavalink/playermanager.py:133
Method
create_player
A check that is invoked before any commands marked with `@commands.check(create_player)` can run. This function will try to create a
examples/music.py:148
Method
current
(self)
lavalink/backoff.py:39
Function
decode_lavasrc_fields
(reader: DataReader)
lavalink/source_decoders.py:40
Function
decode_probe_info
(reader: DataReader)
lavalink/source_decoders.py:35
Function
decode_track
Decodes a base64 track string into an AudioTrack object. Parameters ---------- track: :class:`str` The base64 track string.
lavalink/utils.py:164
Method
decode_track
|coro| Decodes a base64-encoded track string into a dict. Parameters ---------- track: :class:`str` The
lavalink/client.py:424
Method
decode_track
|coro| Decodes a base64-encoded track string into an :class:`AudioTrack` object. Parameters ---------- track: :class
lavalink/node.py:214
Method
decode_tracks
|coro| Decodes a list of base64-encoded track strings into a list of :class:`AudioTrack`. Parameters ---------- trac
lavalink/client.py:457
Method
decode_tracks
|coro| Decodes a list of base64-encoded track strings into a list of :class:`AudioTrack`. Parameters ---------- trac
lavalink/node.py:230
Method
delete
Removes an item from the the stored user data. Parameters ---------- key: :class:`object` The key to del
lavalink/player.py:178
Method
destroy
|coro| Removes a player from cache, and also Lavalink if applicable. Ensure you have disconnected the given guild_id from the voicech
lavalink/playermanager.py:262
← previous
next →
101–200 of 307, ranked by callers