LogoLogo
  • GUILDA BOT KNOWLEDGE BASE
    • Welcome to Guilda Bot!
    • Customer Guides
      • Installation Guide
        • Create Discord App
        • Bot Token & Intents
          • OAuth2 and Invite
        • Guilda Bot (Free Version)
      • Bot Usage
        • Available Commands
        • Utilities Branch
          • Giveaway
          • Applications
          • Applications Ver. 2
          • Custom Commands
          • Forms
          • Role Requests
          • Self Role
          • 🎫Tickets
          • Temporary Voice Channels
          • Embeds
          • Invites
        • Bot Branch
          • 🤖General Bot Settings
        • Engagement & Fun Branch
          • Birthdays
          • Reviews
          • Snippets
          • Suggestions
        • Guild Branch
          • 🧐Advanced Logs
          • 🚷Alt Prevention
          • 💀Anti-Tagging
          • ☑️Captcha Verification
          • 😯Discord Guild Stats
          • Moderator Tools
          • Level Up Leaderboard
          • 👋Welcome Message
        • Social Branch
          • Twitch
          • Youtube
  • LEGAL
    • Guilda Terms of Service
Powered by GitBook
On this page
  • Guilda Bot (Free Version)
  • 🚀 Features
  • 📦 Prerequisites
  • ⚙️ Traditional Setup
  • 🐳 Docker Setup
  • 🌐 Environment Variables
  • ⚠️ Important Notes
  • 🛠 Database Migrations
  1. GUILDA BOT KNOWLEDGE BASE
  2. Customer Guides
  3. Installation Guide

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

git clone https://github.com/yourusername/slothybot-free.git
cd slothybot-free

2. Install dependencies

npm install

3. Create a .env file in the root directory

TOKEN="your-discord-bot-token"
ACTIVITY_NAME="Testing"
ACTIVITY_TYPE=0
PRODUCTION=0
BOT_DATABASE_URL="mysql://username:password@localhost:3306/your_database"
TEST_GUILD_ID=""

4. Set up the database

npm run ready

5. Start the bot

npm start
npm run build
npm run start:prod

🐳 Docker Setup

1. Clone the repository and navigate into it

git clone https://github.com/yourusername/slothybot-free.git
cd slothybot-free

2. Create a .env file as described above

3. Build and run using Docker

docker build -t slothybot .
docker run -d --env-file .env slothybot

🌐 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:

npm run prisma-migrate

To regenerate the Prisma client:

npm run prisma-generate
PreviousOAuth2 and InviteNextBot Usage

Last updated 1 month ago