/discordjs-bot-guide

The basic new coder friendly "idiot's guide", Created by Hindsight#2020 and maintained by the community.

Welcome

Introduction

This guide makes a best effort attempt at humanizing the use of the Discord.js library. It is maintained by York#0001 and Hindsight#2020 ("Evie.Codes"), with the help of many precious contributors that enable us to keep updating and enhancing this guide.

{% hint style="danger" %} Please take note that this guide is not yet fully updated to Version 12. You're currently in the v11 branch. You can switch to the V12 version by the top-left selector: {% endhint %}

The Gitbook version selector

This guide was born out of necessity - the first version of this guide for Discord.js version 7, more than 4 years ago, was the first of its kind because I (Evie) could not find any such beginner's guide and the documentation was (and still is) unfathomably difficult to navigate for anyone without a sufficiently advanced knowledge of JavaScript concepts.

In this guide we make every effort to teach you how to use the library and how to extend it with your own code. We do, however expect you to have a basic understanding of JavaScript before attempting to write bots. Discord.js (and other discord libraries) require some median-to-advanced concepts that might be hard to grasp for anyone that doesn't have a good footing with the language.

Get Support

If you have any questions after reading this guide, please don't hesitate to join us on our Discord server, "An Idiot's Guide". The link is located at the top of this page. If you wish to consult with the discord.js developers and official community, the Discord.js official discord is right next to ours, still at the top of the page!

Last Updated: 23/04/2020