#Pushing into an array results in the array still being empty.

5 messages · Page 1 of 1 (latest)

open cloak
#

• What's your exact discord.js npm list discord.js and node node -v version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.

foggy wharf
#

Basically after I reply to something, i wanted to test something by pushing into an array, but after checking the array when it pushed, it remained empty! im wondering why this is

#

and how i fix it

signal root
#

Either you put the rest of your code in the .then or you handle the promise correctly