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

fix: always create new empty arrays #68

Merged
merged 1 commit into from
Nov 24, 2021

Conversation

kyranet
Copy link
Member

@kyranet kyranet commented Nov 24, 2021

Fixes a bug that will cause the library to have some funny behavior when discord.js@13.4.0 is released due to discordjs/discord.js#6871 mutating attachments, which will result on attachments to leak globally without this patch.

@kyranet kyranet merged commit 406dd08 into main Nov 24, 2021
@kyranet kyranet deleted the fix/create-empty-arrays-all-the-time branch November 24, 2021 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants