- discord.js v14 Bot mit Slash-Command-Registry (Guild oder global) - Konfiguration über .env mit Validierung (config.js) - Dockerfile + docker-compose.yml für Portainer-Deployment - README mit Schritt-für-Schritt-Anleitung (Discord Developer Portal) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
12 lines
462 B
Bash
12 lines
462 B
Bash
# Vorlage — nach .env kopieren und Werte eintragen (NIEMALS .env committen!)
|
|
|
|
# Discord Developer Portal → deine App → Bot → "Reset Token"
|
|
DISCORD_TOKEN=
|
|
|
|
# Discord Developer Portal → deine App → General Information → "Application ID"
|
|
DISCORD_CLIENT_ID=
|
|
|
|
# Rechtsklick auf deinen Discord-Server → "Server-ID kopieren" (Entwicklermodus nötig)
|
|
# Optional: wenn gesetzt, sind Slash-Commands sofort verfügbar statt nach bis zu 1h
|
|
DISCORD_GUILD_ID=
|