-
Notifications
You must be signed in to change notification settings - Fork 783
Closed
Description
Not really an error in the github repo, but there is an error in the discord dev site guide for building your first app: in the Handling button interactions and Handling select menu interactions code snippets there's no return before the last curly brace. I noticed it because as soon as I clicked the button on the discord server, the terminal in which I run npm run start gave me the following error: ERR_HTTP_HEADERS_SENT
I checked the example code in example/app.js and there is this line of code with return. By adding it now everything works, so please correct the website guide! Thank you!
edit: in example/app.js line 180 contains the missing return
Metadata
Metadata
Assignees
Labels
No labels