#ApplicationFlags of mentioned bots?

9 messages · Page 1 of 1 (latest)

sharp elmBOT
#

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

cold anvil
#

It would. You can check if a user is a bot by doing

user.bot

graceful tinselBOT
#

property User#bot
Whether or not the user is a bot

cold anvil
#

You should then fetch the flags and then use these (if I have interpreted correctly)

graceful tinselBOT
narrow briar
#

I see... so uh is this one bs? userr.fetchApplication()

#

Cause I got this from someone but seems like it might be stupid

cold anvil
#

You can’t fetch an application of a bot I don’t think

narrow briar
#

yeah okay