#Question about External Functions

9 messages · Page 1 of 1 (latest)

plain currentBOT
#

• 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.

raven charm
#

show your code

silent cosmos
#

Pass your client as parameter to the external function. Doesn’t have to be a command for that to work

short shadow
#

I think I tried client.on ready but maybe I did it incorrectly

raven charm
short shadow
raven charm
#

yes

short shadow
#

thank you, I will work on it later on after my uni work and get back to you