A personal Discord bot where I test ideas and ship features. Focused on clean slash commands, quick utilities, and a few fun interactions.
- Actively developed and used on real servers
- Slash commands only, auto-registered
- Mix of fun, utility, and moderation tools
- Node.js 18.18+
- discord.js v14
- dotenv for environment variables
- colorette for clean colored logs
- Clone the repository:
git clone https://github.com/theosanct0s/aurorabot.git cd aurorabot - Rename the .env file:
from .env.example to .env
- Configure your environment variables in
.env:DISCORD_TOKEN=bot_token_here APPLICATION_ID=bot_id_here OWNER_ID=owner_id_here EMBED_COLOR=#aa8ed6 (The hex color used for all bot embeds) - In the Discord Developer Portal, enable the Message Content Intent for the bot (needed to reply to mentions).
- Install dependencies:
npm install
- Start the bot:
node .
src/
βββ commands/ # Slash commands
βββ events/ # Discord event handlers
βββ lib/ # Command & event loaders
βββ utils/ # Utility functions (logger)
βββ config.js # Bot configuration
βββ index.js # Application entry point
- src/index.js β Initializes the client, loads commands/events, and logs in.
- src/lib/commandLoader.js β Loads and registers slash commands automatically.
- src/lib/eventLoader.js β Registers Discord events dynamically.
- src/utils/logger.js β Keeps logs clean and readable.
- Personal project, actively maintained and improved.
- Modular and easy to extend.
- Add new commands/events without changing the core logic.