Guilda Bot (Free Version)

Guilda Bot (Free Version)

A free and open-source Discord bot built with Oceanic.js and Prisma.

πŸš€ Features

  • Bot Customizer

  • Advanced Logging System

  • Welcome Module

  • Application Modules

  • Self Role Module

  • Role Request Module

  • Birthdays Module

  • Suggestions Module

  • Giveaway Module

  • Polls Module

πŸ“¦ Prerequisites

  • Node.js v16.x

  • MySQL database

  • Docker (optional, for containerized deployment)

βš™οΈ Traditional Setup

1. Clone the repository

2. Install dependencies

3. Create a .env file in the root directory

4. Set up the database

5. Start the bot

🐳 Docker Setup

1. Clone the repository and navigate into it

2. Create a .env file as described above

3. Build and run using Docker

🌐 Environment Variables

  • TOKEN: Your Discord bot token

  • ACTIVITY_NAME: Bot's activity status text

  • ACTIVITY_TYPE: Activity type (0 = Playing, 1 = Streaming, etc.)

  • PRODUCTION: Production mode flag (0 = development, 1 = production)

  • BOT_DATABASE_URL: MySQL database connection URL

  • TEST_GUILD_ID: Discord server ID for testing commands in development mode

⚠️ Important Notes

  • This project uses older dependencies and is specifically tested with Node.js v16.x

  • Required system dependencies for image processing:

    • build-base

    • g++

    • cairo-dev

    • jpeg-dev

    • pango-dev

    • imagemagick

    • giflib-dev

    • librsvg-dev

πŸ›  Database Migrations

To update the database schema:

To regenerate the Prisma client:

Last updated