guide icon indicating copy to clipboard operation
guide copied to clipboard

Explain/Replace the reason for `wait` around the guide

Open megatank58 opened this issue 3 years ago • 0 comments

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

megatank58 avatar Nov 23 '22 15:11 megatank58