Initial push

This commit is contained in:
2025-03-31 20:07:57 +02:00
commit 581c6a074b
28 changed files with 2323 additions and 0 deletions

31
docker-start.sh Normal file
View File

@@ -0,0 +1,31 @@
#!/bin/sh
# Verify environment
echo "Starting Bot..."
echo "Node version: $(node -v)"
echo "Working directory: $(pwd)"
# Ensure data directory exists
echo "Checking data directory for guild settings"
mkdir -p /usr/src/app/data
# Check for audio files
echo "Checking audio directory: ${AUDIO_DIR}"
mkdir -p ${AUDIO_DIR}
if [ -z "$(ls -A ${AUDIO_DIR} 2>/dev/null)" ]; then
echo "Warning: No audio files found in ${AUDIO_DIR}"
echo "The bot can still run, but won't play sounds in voice channels."
else
echo "Found audio files:"
ls -la ${AUDIO_DIR}
fi
# Check for .env file
if [ ! -f .env ]; then
echo "Warning: No .env file found"
fi
# Start the bot
echo "Starting bot..."
node dist/index.js