MihailPreis / discord-radio

Radio server for Discord voice rooms.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🔊 DiscordRadio Create and publish a Docker image

Radio server for Discord voice rooms.

Requirements

How to use

  1. Create .env in root:

    # required
    DISCORD_TOKEN=<BOT_TOKEN>
    # optional
    DISCORD_PREFIX=^ # default: $
    DEFAULT_MP3=default.mp3 # default: default.mp3
    LOG_LEVEL=DEBUG # default: INFO | see https://docs.python.org/3/howto/logging.html#logging-levels
    LOG_FILE=/var/log/DiscordRadio.log # if specified, log file will be writing

    For create Discord bot see this

  2. Create default.mp3 audio for loop playing if channel not have tracks.

  3. Run server

    $ docker pull ghcr.io/mihailpreis/discord-radio:master
    $ docker run -d --env-file .env --mount source=discord-radio-data,target=/app/data --name discord-radio ghcr.io/mihailpreis/discord-radio:master
    $ docker cp default.mp3 discord-radio:/app
  4. Add you radio bot to server.

  5. Send <you_prefix or $>help in text channel for get help.


  • License: © 2021 M.Price.
    See the LICENSE file for license rights and limitations (MIT).

About

Radio server for Discord voice rooms.

License:MIT License


Languages

Language:Python 97.6%Language:Dockerfile 2.4%