

The first step is to create a new project/folder where the bot’s files will be stored. We have reached the most important part of the process: programming the actual bot. You can leave it for now, but we will return to it later. Click Yes, do it!įor now, that is all you need to do on this page. Click Add Bot, which will show an intimidating prompt. Click on New Application, give your bot a name, and click the Bot tab on the left. If this is your first time creating a bot, there shouldn’t be anything on your dashboard. This is where you will need to publish your bot to have it function on Discord. This is done on Discord’s Developer Portal. Give your testing server a name and create it, then you’re ready to proceed. To do that, just click on the + icon on the left side of the desktop client, right below Home. It’s best to create a brand new server dedicated solely to testing. Creating A ServerĪfter installing the application, you need a place to test whether or not your bot is working. This shouldn’t take more than a few minutes. If you don’t already have Discord, download the app from the official website, install it and create an account while you are there. This is another vital part of the process, so we can’t skip it. Install Discord And Create an AccountĪs you are reading this article, you probably already have Discord installed on your computer and an active account. It should report the version of Node.js that is installed.

This command will confirm that Node.js has been successfully installed on your computer. The installation process is as straightforward as any other software.įollow the steps, then open your terminal (CMD on Windows) and type: node –v. Without installing it, it won’t be possible to complete the other steps of this guide.ĭownload it from the official website and run the installer. Install Node.Jsīefore proceeding further, we recommend installing Node.js as soon as you can. You will also need to have installed the Discord desktop app and Node.js. Mac users should consider using Espresso.

If you are on Windows, your options include Notepad++, Atom, Sublime Text, and others. You will also need some kind of code editor. The main prerequisite is to possess at least basic knowledge of Python or JavaScript (we’ll stick to JS in this article). First of all, you need to prepare before you can start programming an entire bot.
