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 leave message is never edited #15

Merged
merged 1 commit into from
Nov 20, 2023

Conversation

phenylshima
Copy link
Contributor

editReplyに到達せず,メッセージがdeferのままになってしまう問題がありました.
問題はstateChangeは同期的に呼ばれるところにあったようですので,setImmediateで対応しました.
(コメントの英語が不自然かもしれないので,代案を歓迎します)

https://github.com/discordjs/discord.js/blob/ce0be392d818b13ba5a081811519b559202cdba8/packages/voice/src/VoiceConnection.ts#L564-L566

@cm-ayf cm-ayf merged commit 36a0c7a into discordjs-japan:main Nov 20, 2023
1 check passed
@phenylshima phenylshima deleted the fix-leave branch December 11, 2023 21:54
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