46 Replies
• 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.Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
ye
Client isnt defined
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
well
why isnt Client being passed
i defiend it in index
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
well
idk
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
ah
so interaction.client.userssend
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
yeah
thanks
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
well
remember when i asked about getting the user id?
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
its returning MY userID
and sending a msg to me
not my alt
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
lemme try that
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
yeah
thats what i thought
getUser gets teh username tho, right?
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
It returns the user, and you can do user.username then
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
the ID
im tryign to get teh user's ID
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
.send() takes UserResolvable though, so user should also work
ah ok
You could also just do User#send() as you have the user
ah
perfect
thanks
Of course
:D
and in my audit logs (CarlBot)
i see the discriminator for users w the new username system uses Username#0
Yes, same goes for #member-log
oh
didnt see that
and bots will st with the discrim, correct?
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
*stay
ah ok
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
ok