Skip to content
This repository was archived by the owner on Oct 5, 2025. It is now read-only.

Conversation

@aolsen07
Copy link
Contributor

Please describe the changes this PR makes and why it should be merged:
The method of measuring a bot's roundtrip ping contained a code snippet that is incorrect. Since the reply() call doesn't use withResponse, sent comes back as undefined and gives an error. Updating the snippet to better utilize the InteractionCallback can make this correct.

Also, it may be worth it to link to the InteractionCallbackResponse class in the blurb above.

@Jiralite Jiralite merged commit 9d4454e into discordjs:main Jun 15, 2025
5 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants