#UserID

7 messages · Page 1 of 1 (latest)

stiff garden
#

Hey all,
I have two code files:
Warnings - https://pastebin.com/6TUnvkjB
Unwarnings - https://pastebin.com/6yid1fdC
The Warning file will allow a UserID to be used, however the Unwarn file will not.
I've gone through the file several times, but I cannot find the part of the code that is allowing UserID to be used; can anyone help, please?
D

open mulchBOT
#

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

formal temple
#

message.mentions.members.first() || message.guild.member(args[0])

which isn't valid code anymore btw

#

thats all v12 code

stiff garden
stiff garden
rigid pecan