Getting Started

This guide will help you set up Drako Bot for your Discord server. Follow the steps carefully to ensure everything is configured correctly.

Step 1: Setting Up Your Bot

1.1 Obtain Your Bot Token

To get your Bot Token, you'll need to create a bot on the Discord Developer Portal. Follow these steps:

  1. Click on "New Application" and give your application a name.

  2. Navigate to "Installation" and untick User Install and set Install Link to "None"

  3. Navigate to the "Bot" section and click "Add Bot".

  4. Under "Privileged Gateway Intents", enable the following scopes:

    • PRESENCE INTENT

    • SERVER MEMBERS INTENT

    • MESSAGE CONTENT INTENT

  5. Disable Public Bot: Scroll down to the "Public Bot" section and ensure that the "Public Bot" toggle is turned off. This ensures that only you can invite the bot to servers.

  6. Untick "Require OAuth2 Code Grant": In the same section, make sure the "Require OAuth2 Code Grant" option is unticked.

  7. Click "Save Changes".

  8. Copy the Bot Token from the "Token" section.

Hint: All of these settings can be found under the Bot tab.

1.2 Get Your License Key

Join our Discord server and navigate to the ✅┃verify-purchase channel to verify your purchase.

Step 2: Configuring Your Bot

Configure your bot using the following parameters:

Example Configuration

Version: "1.6.9" # Don't change this!
BotToken: "YOUR_BOT_TOKEN"
LicenseKey: "YOUR_LICENSE_KEY"
mongoURI: "YOUR_MONGO_URI"
GuildID: "YOUR_GUILD_ID"
BotName: "Drako Bot"
LogCommands: true
Statistics: true
Timezone: "America/New_York"

Step 3: Setting Up MongoDB

Drako Bot requires MongoDB for data storage. Follow the steps in the MongoDB Setup Guide to set up your MongoDB database and obtain your mongoURI.

Step 4: Installing Node.js

Before running the bot, you need to install Node.js. Download and install Node.js from the following link:

Follow the installation instructions provided by the installer. Node.js is required to run the bot as it provides the necessary runtime environment.

Step 5: Inviting Your Bot

To invite your bot to a server, follow these steps:

  1. Go to the OAuth2 section in the Discord Developer Portal.

  2. Scroll down to the OAuth2 URL Generator.

  3. In the SCOPES section, select Bot and applications.commands.

  4. Under Bot Permissions, select Administrator.

  5. Copy the generated URL and paste it into your browser to invite the bot to your server.

Step 6: Running Your Bot

Once you have configured your bot with the necessary details and installed Node.js, open up the Command Prompt in the bot's directory. Run the following commands to install all dependencies and start the bot:

Install Dependencies

npm install

Start the Bot

npm start

Hint: If npm isn't recognized, then you'll need to restart PowerShell/Command Prompt.

Support and Troubleshooting

If you encounter any issues during the setup process, join our support server and create a ticket for assistance.

Last updated