{"id":27969550,"url":"https://github.com/mgerb/mgdiscord","last_synced_at":"2025-05-07T21:11:30.170Z","repository":{"id":93050887,"uuid":"200524485","full_name":"mgerb/mgdiscord","owner":"mgerb","description":"The discord bot that plays everything","archived":false,"fork":false,"pushed_at":"2023-03-24T03:04:26.000Z","size":29,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-05-07T21:11:27.425Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://cloud.docker.com/repository/docker/mgerb/mgdiscord","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mgerb.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-04T17:52:39.000Z","updated_at":"2022-09-04T02:58:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"ff0fe2e1-543d-405e-8407-2ed620cf1da8","html_url":"https://github.com/mgerb/mgdiscord","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgerb%2Fmgdiscord","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgerb%2Fmgdiscord/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgerb%2Fmgdiscord/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgerb%2Fmgdiscord/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mgerb","download_url":"https://codeload.github.com/mgerb/mgdiscord/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252954409,"owners_count":21830905,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-07T21:11:29.572Z","updated_at":"2025-05-07T21:11:30.152Z","avatar_url":"https://github.com/mgerb.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MGDiscord\n\nhttps://cloud.docker.com/repository/docker/mgerb/mgdiscord\n\nThe discord bot that plays everything. This bot is similar to other music bots, but it uses yt-dlp.\n\n## Features\n\n- queue up audio from a wide variety of sites\n- start audio track from specific timestamp (see Commands)\n- support for timestamp in Youtube URL\n- skip/pause/resume tracks\n- set volume\n\n## Commands\n\n- play \\\u003curl\\\u003e \\\u003coptional timestamp\\\u003e | \\\u003cyoutube search query\\\u003e - add a valid URL or youtube search to the play queue\n  - timestamp - start an audio track at a specific timestamp\n  - e.g. !play https://www.youtube.com/watch?v=oHg5SJYRHA0 1m13s\n  - NOTE: a Youtube URL with timestamp in the query string will start playing at that time\n- skip - skip to the next in queue\n- pause - pause current playing track\n- resume - resume playing current track\n- volume \\\u003c1 - 100\\\u003e - set the volume 1 through 100\n\n## Run with Docker Compose\n\nI highly suggest running this with Docker as I am not currently compiling binaries.\nThis bot depends on yt-dlp, which must be provided by the host. This was previously\nprovided by the container, but yt-dlp needs to be updated too much for this now.\n\n```\nversion: \"3\"\n\nservices:\n  mgdiscord:\n    image: mgerb/mgdiscord:latest\n    volumes:\n      - /usr/local/bin/yt-dlp:/usr/local/bin/yt-dlp:ro\n    env_file:\n      - .env\n    environment:\n      - BOT_PREFIX=${BOT_PREFIX}\n      - TOKEN=${TOKEN}\n      - TIMEOUT=${TIMEOUT}\n```\n\n### Config\n\n- BOT_PREFIX - the prefix to your bot commands e.g. \"!play rick roll\"\n- TOKEN - [How to get your bot token](https://github.com/reactiflux/discord-irc/wiki/Creating-a-discord-bot-\u0026-getting-a-token)\n- TIMEOUT - how many seconds before the bot times out downloading a media file\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmgerb%2Fmgdiscord","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmgerb%2Fmgdiscord","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmgerb%2Fmgdiscord/lists"}