Advanced Command + Event Handler (Discord.js v14)

Опубликовано: 12 Март 2025
на канале: Under Ctrl
61,939
999

Advanced Command + Event Handler (Discord.js v14)

IMPORTANT: In 28:49 and 30:02 change the "break" to "return".
Reason: Using break will only half work as it won't reply if there's more than one permission. However it will still run the rest of the function which means it'll attempt to still run the command at the end of the function. Return will make sure the function stops completely. Sorry for the inconvenience.

🌐 Important links:
areCommandsDifferent.js code: https://github.com/notunderctrl/disco...
Discord server: https://discord.underctrl.io
Source code: https://github.com/notunderctrl/disco...
Discord.js series playlist:    • Discord.js v14 Tutorial  
Discord.js official website: https://discord.js.org
Patreon:   / underctrl  
Buy me a coffee (one-time donation): https://buymeacoffee.com/underctrl

Thank you for watching :)