Skip to content

theosanct0s/aurorabot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

35 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Aurora Bot

Node.js 18.18+ discord.js v14 License: MIT Status: Active

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

πŸš€ Tech Stack

  • Node.js 18.18+
  • discord.js v14
  • dotenv for environment variables
  • colorette for clean colored logs

πŸ“¦ Installation & Setup

  1. Clone the repository:
    git clone https://github.com/theosanct0s/aurorabot.git
    cd aurorabot
  2. Rename the .env file:
    from .env.example to .env
  3. 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)
  4. In the Discord Developer Portal, enable the Message Content Intent for the bot (needed to reply to mentions).
  5. Install dependencies:
    npm install
  6. Start the bot:
    node .

⚠️ Slash commands are registered globally; Discord may take a few minutes to propagate them.


🧩 Project Structure

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

Key files

  • 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.

πŸ“Œ Notes

  • Personal project, actively maintained and improved.
  • Modular and easy to extend.
  • Add new commands/events without changing the core logic.

About

πŸ’œ This is Aurora, my personal Discord bot.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors