Is Module or CommonJS Better for a Discord Bot?
UnifyingSlum路2 months agoGo with modules (ES6) if you're starting fresh and want to future-proof your bot. CommonJS is sorta the old-school way but still works if you have legacy code.
Win gift cards by playing fun games on Playbite!
Playbite
500k winners and counting...
More Answers
Modules (ES6) give you better support and are the standard now. CommonJS is good but might feel outdated.
I've built a couple of Discord bots and modules (ES6) made life so much easier with imports and exports. Highly recommend!
CommonJS all the way! Why mess with perfection?
馃憖 If you like Discord...
Diego路3 hours agoThe brands referenced on this page are not sponsors of the rewards or otherwise affiliated with this company. The logos and other identifying marks attached are trademarks of and owned by each represented company and/or its affiliates. Please visit each company's website for additional terms and conditions.
People also want to know
Add an Answer