UserID

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
Pastebin
Warn - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Pastebin
Unwarn - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
4 Replies
d.js docs
d.js docs2y ago
• 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.
chewie 🌈
chewie 🌈2y ago
message.mentions.members.first() || message.guild.member(args[0]) which isn't valid code anymore btw thats all v12 code
≪ °✾° ≫ 𝓓𝓮𝓵𝓽𝓪_𝓑𝓻𝓪𝓿𝓸92 ≪ °✾° ≫
Hmm... that's not pulling through Still functional on the bot for now, but thank you; I will add updating the code to my lengthy list of things to do! 😂
souji
souji2y ago
please pick the tag for the ACTUAL version you are using. we do no longer support v12