DiscordJS_Template
DiscordJS_Template copied to clipboard
Hey guys! Thought I would add the template I use for whenever I start a new bot. It has a simple command handler and example command! Join the Discord Server for help with this!
I get the error `(node:2208) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'length' of undefined at Client. (/app/test.js:43:61) at Client.emit (events.js:196:13)` it's at the ` const commandfile = bot.commands.get(command.slice(prefix)); ` part
Hey I fixed the Link to your Discord, because the old Link redirects to Scam.
Test
This addresses - https://github.com/The-SourceCode/DiscordJS_Template/issues/1
Hello, Even if you have changed the code and prefix, if you put for example `!`, you can still make the order by something other than this prefix requested.