Update Lavalink.jar, Red-Lavalink and make changes to support it #5474

Merged
aikaterna merged 6 commits from lavalink-3.4-changes-audio into V3/develop 2021-12-31 01:16:28 +01:00
aikaterna commented 2021-12-20 02:14:44 +01:00 (Migrated from github.com)

Description of the changes

Merge when Red-Lavalink 0.9.0 is released.

### Description of the changes Merge when Red-Lavalink 0.9.0 is released.
PredaaA (Migrated from github.com) reviewed 2021-12-20 02:14:44 +01:00
Jackenmen (Migrated from github.com) requested changes 2021-12-23 03:07:14 +01:00
Jackenmen (Migrated from github.com) commented 2021-12-23 03:06:28 +01:00

We pin our RLL version so there's no need to support both.

                        extra_error_string = extra.get("message")
We pin our RLL version so there's no need to support both. ```suggestion extra_error_string = extra.get("message") ```
Jackenmen (Migrated from github.com) commented 2021-12-23 03:07:09 +01:00

Black style fix:

                            description="{}\n{}".format(
                                extra_error_string.replace("\n", ""), description
                            ),
Black style fix: ```suggestion description="{}\n{}".format( extra_error_string.replace("\n", ""), description ), ```
Jackenmen (Migrated from github.com) reviewed 2021-12-30 00:40:15 +01:00
@ -287,7 +287,9 @@ class LavalinkEvents(MixinMeta, metaclass=CompositeMetaClass):
embed = discord.Embed(
Jackenmen (Migrated from github.com) commented 2021-12-30 00:40:14 +01:00

The key is guaranteed to exist for TRACK_EXCEPTION (.get() way was also wrong because if the key would ever not be there, there would be a TypeError due to it trying to call None.replace()):

                                extra["message"].replace("\n", ""), description
The key is guaranteed to exist for TRACK_EXCEPTION (`.get()` way was also wrong because if the key would ever not be there, there would be a TypeError due to it trying to call `None.replace()`): ```suggestion extra["message"].replace("\n", ""), description ```
Jackenmen (Migrated from github.com) approved these changes 2021-12-31 01:13:14 +01:00
Jackenmen (Migrated from github.com) left a comment

LGTM.

LGTM. ![](https://i.fluffy.cc/27MHQpGVHf8zsBqx96gxT5PB5mS1jtjD.gif)
red-githubbot[bot] commented 2021-12-31 01:16:31 +01:00 (Migrated from github.com)

Thanks aikaterna for the PR 🎉. I'm working now to backport this PR to: 3.4.

Thanks aikaterna for the PR 🎉. I'm working now to backport this PR to: 3.4.
red-githubbot[bot] commented 2021-12-31 01:16:36 +01:00 (Migrated from github.com)

#5505 is a backport of this pull request to Red 3.4.

#5505 is a backport of this pull request to [Red 3.4](https://github.com/Cog-Creators/Red-DiscordBot/tree/3.4).
Sign in to join this conversation.
No labels
Automated PR
Blocked
Blocked By: Damage Control
Blocked By: Dependency
Blocked By: Other PR
Breaking Change
Category: CI
Category: Cogs - Admin
Category: Cogs - Alias
Category: Cogs - Audio
Category: Cogs - Bank
Category: Cogs - Cleanup
Category: Cogs - CustomCommands
Category: Cogs - Dev
Category: Cogs - Downloader
Category: Cogs - Economy
Category: Cogs - Filter
Category: Cogs - General
Category: Cogs - Image
Category: Cogs - Mod
Category: Cogs - Modlog
Category: Cogs - Mutes
Category: Cogs - Permissions
Category: Cogs - Reports
Category: Cogs - Streams
Category: Cogs - Trivia
Category: Cogs - Trivia - Lists
Category: Cogs - Warnings
Category: Core - API - App Commands Package
Category: Core - API - Audio
Category: Core - API - Bank
Category: Core - API - Commands Package
Category: Core - API - Config
Category: Core - API - Other
Category: Core - API - Utils Package
Category: Core - Bot Class
Category: Core - Bot Commands
Category: Core - Command-line Interfaces
Category: Core - Downloader
Category: Core - Help
Category: Core - i18n
Category: Core - Modlog
Category: Core - Other Internals
Category: Core - RPC/ZMQ
Category: Docker
Category: Docs - Changelogs
Category: Docs - For Developers
Category: Docs - Install Guides
Category: Docs - Other
Category: Docs - User Guides
Category: Meta
Category: RPC/ZMQ methods
Category: Vendored Packages
Changelog Entry: Added
Changelog Entry: Pending
Changelog Entry: Skipped
Closed: Duplicate
Closed: External
Closed: Invalid
Closed: User Error
Closed: Won't Fix
Complex Issue
Docs-only
Feature Branch
Good First Issue
Help Wanted
High Priority
Needs Backport To stable-docs
No Activity
No Repro
QA: Bypassed
QA: Changes Requested
QA: Passed
Release Blocker
Status: Accepted
Status: Frozen
Status: In Progress
Status: Needs Discussion
Status: Needs Info
Status: Needs Triage
Status: PRs Welcome
Type: Bug
Type: Dependency Update
Type: Deprecation
Type: Enhancement
Type: Feature
Type: Informational
Type: Merge
Type: Optimisation
Type: Question
Type: Removal
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Mrcoolgamer11/Red-DiscordBot!5474
No description provided.