Episode 6 Part 1

Welcome back to my guide, helping you create a Discord Bot using the amazing Discord.js library I hope you follow along and create your very own bot!

This is part 1 of a 2 parter, wewlad, I had a lot to get recorded in this episode, turned out alright didn't it, in this episode we're breaking down our bot into separate files, we're doing event and command handlers, this will clean up our code for what's coming in the next few videos

Please let me know what you think to the series, and suggest things for me to cover in future episodes, I have a mental road map I will be following, but I may throw in the odd episode dedicated to requests.


All of the tutorial source code is available here

You will require a free discordapp.com account to use the discord service, sign up here

You can join the "An Idiot's Guide Official Server" here

If you'd like to support me on Patreon, you can do so here

Don't forget to join the "Official Discord.js Server" here

Check out the Discord Developers portal here

Discord.js Official Documentation is available here

Don't forget, if you want to invite your bots to server, you'll need to get an invite link, you can use the Discord Permissions Calculator here to set up your permissions, and generate an invite link.

Music in the video: Local Forecast - Slower by Kevin MacLeod incompetech.com Licensed under Creative Commons: By Attribution 3.0 License

List of Atom addons and themes I use; Addons:

  • atom-beautify - Glavin001,

  • highlight-selected - richrace,

  • linter-eslint - AtomLinter,

  • seti-icons - wyze and

  • tokamak-terminal - vertexclique


  • seti-syntax, seti-ui - jesseweed