#Help - Check if a specific user has permission to send specific commands

3 messages · Page 1 of 1 (latest)

cedar thistle
#

I'm looking to for a bit of help.
I'm trying to add a check for permitted-users commands, but I have no idea on how I would do it. Could I get some help?

Needing protection against commands such as eval, shutdown, restart, etc...)

sudden crowBOT
#

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

silent wolf
#

Just check interaction.user.id against a list of allowed ids