Xtream-ITSolutions UG | Dokumentation
  • introducing
    • 👋Introduction
  • Discord Bots
    • 📦Standard Bot
      • 💡Installation
      • ⚙️Configuration
    • 🎫Ticket System
      • 💡Installation
      • ⚙️Configuration
    • 💸Payment System
      • 💡Installation
      • ⚙️Configuration
    • 🔐Verification System
      • 💡Installation
      • ⚙️Configuration
    • 📩Messages System
      • 💡Installation
      • ⚙️Configuration
    • 🔢Counter System
      • 💡Installation
      • ⚙️Configuration
  • FiveM Bots
    • 📝Whitelist System
      • 💡Installation
      • ⚙️Configuration
    • 🛡️Fraktions System
      • 💡Installation
      • ⚙️Configuration
    • ⚒️Support System
      • 💡Installation
      • ⚙️Configuration
    • 🎮FiveM System
      • 💡Installation
      • ⚙️Configuration
    • 👥Team Management
      • 💡Installation
      • ⚙️Configuration
  • Weitere Links
    • ⚙️Discord
    • ⚙️Dashboard
    • ⚙️Server Status
Bereitgestellt von GitBook
Auf dieser Seite
  • 1. Bot Daten
  • 2. Database Setup

War das hilfreich?

Bearbeiten auf GitHub
  1. Discord Bots
  2. Payment System

Configuration

In diesem Artikel wird dir die Benutzung des Discord Bots Payment System beschrieben.

1. Bot Daten

In der Config.js musst du nun deinen Discord Bot Token angeben, und weitere Informationen.

config.bot = {
    token: "", // Bot Token (https://discord.com/developers)
    guildId: "",
    license: "",
    activity_enabled: true, // If disabled Bot wont override Activity (if multiple Bots are running on same Token)
    activitys: [
        {
            name: "",
            type: "Watching",
            status: "idle",
        },
        {
            name: "",
            type: "Playing",
            status: "online",
        },
    ],
    intervall: 10 * 1000, // Intervall of Activity Change
};

2. Database Setup

config.database = {
    mysql: {
        host: "",
        user: "",
        password: "",
        database: ""
    }
};

VorherigeInstallationNächsteVerification System

War das hilfreich?

In der Config.js musst du deine Datenbank angeben.

💸
⚙️
MySQL