Installation guide for The Ultimate Bot

Tutorial on how to setup and get the bot up and running on your discord server

Step 1: Downloading Node.js and setting up a discord account

Node.js is a powerful runtime library for javascript that's completely free to use, and you'll need it for running the bot. Download it at nodejs.org and install it if you haven't already. You also need a Discord account and your own server to use and test the bot, if you haven't created one yet, head over to Discord.com to create one. Once you've created an account, create a server to send your bot to go to.

Step 2: Installing the bot files

If the bot you purchased requires a database, you're going to need to install Python 2.7, download it here.

After installing Python, and once you've gotten the bot files, extract the archive using File Explorer. Once in the bots directory, click on File, hover over Open Windows PowerShell, and click Open Windows PowerShell as Administrator. Then once PowerShell opens, you're going to need to run a few commands. First, type npm i --save and press enter to download the required prerequisites for running the bot. Then you're going to need to install Windows Build Tools.

npm install --global --production --vs2015 --add-python-to-path windows-build-tools
npm install --global --production --add-python-to-path windows-build-tools node-gyp

Step 3: Obtaining a bot token

Now you'll need to create an "application" in the Discord Developer Portal to get the bot up and running. create an application here Click on New Application to get started. Give your application a name, then, on the right-hand menu, click Bot. once you're there, click Add Bot under the Build-a-bot option. Give your bot a name, and click save changes. Under token, click copy. Then once you have the token, in your bot files, go to the settings folder and put the token into the box labeled BOT_TOKEN under BOT_SETTINGS

Step 4: Adding your bot to your server

Now that you have your bot created, you're going to need to invite the bot to your server. To invite the bot, go to the Developer Portal, open your application, go to General Information, and then copy the Client ID. You're then going to head over to the Discord Permission Calculator and at the bottom, paste the Client ID into the box labeled Client ID, and then click the generated link at the bottom to invite it to your server.

Step 5: Running the bot

Once you've invited the bot to your server, and installed everything necessary for running the bot, you're finally ready to deploy it! To run the bot, go to the bots directory, click File > Open Windows PowerShell and once it opens, type the command node . and after a few seconds, it should be up and running and ready to serve your server.

Last updated

Was this helpful?