#Sending a pdf file in discord js
10 messages · Page 1 of 1 (latest)
• 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.
Include it in the files array when sending a message
Ah okay thank you
please can i pass a variable from a command to another ?
Depends on your logic, e.g. if your commands are in separate files
yah my commands are in different files
i'm filling a top side of a pdf with first command and the rest with second command
That's not really DJS-related anymore, so you might want to try Google/StackOverflow
oky last question how can i get the client object inside of a single command file ?
Your client is a property of almost every DJS structure like interaction.client