Lazr Discord Bot
A modular Discord bot built with discord.js.
Features
- Slash command support
- Modular command and event structure
- Easy command deployment
- File logging with structured metadata
Usage
Install dependencies:
npm install
Configure environment:
cp .env.example .env
# Edit .env with your bot credentials
Deploy slash commands:
npm run deploy
Start the bot:
npm run start
Configuration
Create a .env file in the root directory with the following variables:
BOT_TOKEN=your_bot_token_here
CLIENT_ID=your_client_id_here
GUILD_ID=your_guild_id_here
LOG_LEVEL=info
WELCOME_CHANNEL_ID=your_welcome_channel_id_here
Docker Support
Build and run with Docker:
npm run docker:build
npm run docker:run
Contributing
Whether it's big or small, we love contributions. Check out our contribution file to see how to get started.
Not sure where to get started? You can:
Join our Discord, and ask us any questions there.