Skip to content

[Audio]: Allow certain users to queue songs longer than the maxlength.#6728

Open
Evanroby wants to merge 3 commits intoCog-Creators:V3/developfrom
Evanroby:audio-adminlength
Open

[Audio]: Allow certain users to queue songs longer than the maxlength.#6728
Evanroby wants to merge 3 commits intoCog-Creators:V3/developfrom
Evanroby:audio-adminlength

Conversation

@Evanroby
Copy link
Copy Markdown
Contributor

@Evanroby Evanroby commented Apr 4, 2026

Description of the changes

Fixes #6447

Allow guild owner, bot owner, mods, admins, and DJ role holders to bypass the maxlength restriction by adding a can_skip check before enforcing track length limits across all enqueue paths, and fix _can_instaskip missing bot.is_admin().

Have the changes in this PR been tested?

Yes

@github-actions github-actions bot added the Category: Cogs - Audio This is related to the Audio cog. label Apr 4, 2026
@Evanroby Evanroby changed the title Audio adminlength [Audio]: Allow certain users to queue songs longer than the maxlength. Apr 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Category: Cogs - Audio This is related to the Audio cog.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Audio] Allow mods/admins to queue songs longer than the max length.

1 participant