always reply to a specific user's messages
hello, i've only ever used djs for simple !ping pong! type commands, like !help for my discord members etc. I am wanting to set up a condition where if a specific user sends a message, any message, the bot will reply with !hi for example. i've tried using msg.author and msg.client but i may just be formatting it wrong as well. my bot.js is set up using if / else if as i only have a couple things in there. may i have some assistance if possible please? also i am on version 13.8.1.
6 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•3y ago
Message Not Public
Sign In & Join Server To View
likely! i'll give it a go and check back
ty
got this error
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
sick sick, changing message to msg fixed it lol
silly error
tysm
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View