An open API service indexing awesome lists of open source software.

https://github.com/xaviermontane/lazr

A modular Discord bot developed by f0rty.
https://github.com/xaviermontane/lazr

bot discord social

Last synced: about 2 months ago
JSON representation

A modular Discord bot developed by f0rty.

Awesome Lists containing this project

README

          

# Lazr Discord Bot

A modular Discord bot built with [discord.js](https://discord.js.org/).

## Features

- Slash command support
- Modular command and event structure
- Easy command deployment
- File logging with structured metadata

## Usage

**Install dependencies:**

```sh
npm install
```

**Configure environment:**

```sh
cp .env.example .env
# Edit .env with your bot credentials
```

**Deploy slash commands:**

```sh
npm run deploy
```

**Start the bot:**

```sh
npm run start
```

## Configuration

Create a `.env` file in the root directory with the following variables:

```env
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:**

```sh
npm run docker:build
npm run docker:run
```

## Contributing

Whether it's big or small, we love contributions. Check out our [contribution file](https://github.com/xaviermontane/lazr/blob/main/CONTRIBUTING.md) to see how to get started.

Not sure where to get started? You can:

Join our [Discord](https://discord.gg/aYXTQUB2QH), and ask us any questions there.

## License

[GPL-3.0-only](LICENSE)