Initiales Setup: minimaler Discord-Bot mit /ping, Docker-Deployment und README
- 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>
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
# 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=
|
||||
Reference in New Issue
Block a user