You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You seem to be missing some knowledge on how to use promises. Please read this guide on promises which can explain to you why what you're trying to do won't work. If you need further help on the subject, please join our discord server.
I'm having problems with returning variables from functions, which I run in the external files, to the main part of the program.
The variable in question is joinstatus.
Here is the main part of the program:
Here is the function that runs in the external file:
And this is the result of calling the play function
What am I doing wrong?
The text was updated successfully, but these errors were encountered: