Designed to play audio files in voice channels and provide an interface for managing sound files.
1.2K
kdidtech/discord-audio-bot Docker Hub OverviewThe kdidtech/discord-audio-bot is a lightweight Docker container designed to run a Discord bot that plays audio files. This pre-configured image simplifies deployment and ensures the bot remains online with automatic restart capabilities.
linux/amd64 and linux/arm64 architectures.restart: always.Save the following as docker-compose.yml (recommended, click here for more info):
services:
audio-bot:
image: kdidtech/discord-audio-bot:latest
environment:
- DISCORD_BOT_TOKEN=your-discord-bot-token-here
volumes:
- your-audio-data-directory:/app/data/audio/sounds
restart: always
Replace your-discord-bot-token-here with your actual Discord bot token.
Replace your-audio-data-directory with the actual path to your audio data directory.
Start the bot using Docker Compose:
docker-compose up -d
Verify the bot is running:
docker-compose ps
This configuration will pull the latest image, configure the environment variables, and ensure the bot restarts automatically if it stops or if the host reboots.
To run the container without docker-compose, use the following command:
docker run -d \
--name discord-audio-bot \
-e DISCORD_BOT_TOKEN=your-discord-bot-token-here \
-v your-audio-data-directory:/app/data/audio/sounds \
--restart always \
kdidtech/discord-audio-bot:latest
Replace your-discord-bot-token-here with your actual Discord bot token.
Replace your-audio-data-directory with the actual path to your audio data directory.
DISCORD_BOT_TOKEN (Required):
This variable holds your Discord bot token, which is required to authenticate your bot with the Discord API.
docker pull kdidtech/discord-audio-bot:latest
linux/amd64: Standard desktop/server environments.linux/arm64: ARM-based devices like Raspberry Pi.The restart: always directive ensures the container restarts automatically if:
This ensures the bot remains online with minimal intervention.
docker logs discord-audio-bot
DISCORD_BOT_TOKEN environment variable is correctly set.kdidtech/discord-audio-bot, bringing music and sound to your Discord server is a breeze. Whether you're using Docker Compose or the command line, this image ensures your audio bot is always ready to play, entertain, and enhance your server experience. 🎶Content type
Image
Digest
sha256:5e4bcddec…
Size
194.5 MB
Last updated
8 months ago
docker pull kdidtech/discord-audio-bot