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

Explain/Replace the reason for wait around the guide #1360

Open
megatank58 opened this issue Nov 23, 2022 · 0 comments
Open

Explain/Replace the reason for wait around the guide #1360

megatank58 opened this issue Nov 23, 2022 · 0 comments

Comments

@megatank58
Copy link
Contributor

Describe the bug

The guide in many sections¹ uses the syntax await wait(n) to give a correct example of a task taking more than 3 seconds as a use case of deferReply.

The biggest issue with this is that it does not show the actual real use case for deferReply but serves more as a placeholder, what i suggest as per the discussion on discord is that an HTTP request would be better here as an example, people would understand that in an easier way and would probably not copy a random web request (hopefully)

To Reproduce

  1. Go to https://discordjs.guide/slash-commands/response-methods.html#deferred-responses
  2. Observe

Screenshots

No response

Device (please complete the following information)

all

Additional notes

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant