Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Audio] Fix attachment suffix reading on playlist upload #6279

Conversation

aikaterna
Copy link
Member

Description of the changes

With Discord's new file attachment expiration, the file suffix for an upload is longer than just "txt", causing playlist upload to fail. This changes it to only read the first 3 characters of the suffix provided.

Have the changes in this PR been tested?

Yes

@aikaterna aikaterna added the Category: Cogs - Audio This is related to the Audio cog. label Dec 29, 2023
@aikaterna aikaterna added this to the 3.5.6 milestone Dec 29, 2023
@aikaterna aikaterna requested a review from PredaaA as a code owner December 29, 2023 17:37
@aikaterna
Copy link
Member Author

Closing in favor of #6280

@aikaterna aikaterna closed this Dec 29, 2023
@aikaterna aikaterna deleted the audio-playlist-attachment-suffix branch December 29, 2023 20:55
@Jackenmen Jackenmen removed this from the 3.5.6 milestone Mar 17, 2024
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.

2 participants