Use this checklist to get the bot online from a fresh install.
Visit the Discord Developer Portalarrow-up-right.
Click New Application and give it a name.
Go to the Installation tab:
Uncheck User Install
Set Install Link to None
None
Navigate to the Bot tab:
Click Add Bot
Under Privileged Gateway Intents, enable:
PRESENCE INTENT
SERVER MEMBERS INTENT
MESSAGE CONTENT INTENT
Under Public Bot settings:
Disable Public Bot
Uncheck Require OAuth2 Code Grant
Click Save Changes
Copy your Bot Token from the Token section
Note: All of these options are found under the Bot tab.
Keep your bot token private. Treat it like a password.
Join our Discord Serverarrow-up-right and navigate to the ✅┃verify-purchasearrow-up-right channel to verify your purchase and receive your license key.
✅┃verify-purchase
Update your bot’s configuration file core.yml with the following parameters:
core.yml
Version: "1.8.6" BotToken: "YOUR_BOT_TOKEN" LicenseKey: "YOUR_LICENSE_KEY" MongoURI: "YOUR_MONGO_URI" GuildID: "YOUR_GUILD_ID" BotName: "Aegis Bot" LogCommands: true Statistics: true Timezone: "America/New_York"
In Discord, go to User Settings > Advanced
Enable Developer Mode
Right-click your server name in the sidebar
Click Copy Server ID
Paste this value into the GuildID field in your config.
GuildID
Aegis Bot uses MongoDB for data storage.
Follow the steps in the MongoDB Setup Guide to:
Create a MongoDB Atlas account
Set up a new cluster and database
Obtain your connection string (MongoURI)
MongoURI
Important: Do not skip this step! It is required.
Download and install Node.js v21.7.3:
Download Node.js v21.7.3arrow-up-right
Follow the installation prompts to complete the setup.
Note: Use our Pterodactyl Setup Guide if you aren’t hosting locally.
In the Discord Developer Portal, go to OAuth2 > URL Generator
Under Scopes, select:
bot
applications.commands
Under Bot Permissions, select:
Administrator
Copy the generated URL and open it in your browser
Select your server and authorize the bot
Open Command Prompt or Terminal and navigate to the folder where your bot files are located:
cd path/to/your/bot
Video Tutorial: https://www.youtube.com/watch?v=neQUxiLPglg
Install required dependencies using npm:
npm install
Start your bot with:
npm start
If npm isn't recognized, restart your terminal and try again.
npm
If you hit issues during setup, join our support server and open a ticket.
Last updated 1 month ago