{"meta":{"slug":"aoede","name":"Aoede","category":"bots","source":"pterodactyl","owner":"pterodactyl","repo":"application-eggs","branch":"main","path":"bots/discord/aoede/egg-aoede.json","rawUrl":"https://raw.githubusercontent.com/pterodactyl/application-eggs/main/bots/discord/aoede/egg-aoede.json","indexedAt":1792246788483},"egg":{"_comment":"DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PANEL","meta":{"update_url":null,"version":"PTDL_v2"},"exported_at":"2024-06-01T19:44:07+00:00","name":"Aoede","author":"contact@bldy.ovh","description":"Aoede is a Discord music bot that directly streams from Spotify to Discord. The only interface is Spotify itself.","features":null,"docker_images":{"ghcr.io/ptero-eggs/yolks:ubuntu":"ghcr.io/ptero-eggs/yolks:ubuntu"},"file_denylist":[],"startup":"./aoede","config":{"files":"{}","logs":"{}","startup":"{\r\n    \"done\": \"Invite me with\"\r\n}","stop":"^C"},"scripts":{"installation":{"container":"rust:1.74-slim","entrypoint":"bash","script":"## Credits: Red-Thirten (https://github.com/lilkingjr1) for providing most of the installation script\r\n## Credits to TubaApollo & QuintenQVD0 for the Muse egg that helped build most of this one\r\napt-get update\r\napt-get install git curl jq cmake -y -qq\r\n\r\nGITHUB_PACKAGE=\"codetheweb/aoede\"\r\n\r\n# Find GitHub download URL for Muse for specified version\r\nLATEST_JSON=$(curl --silent \"https://api.github.com/repos/${GITHUB_PACKAGE}/releases/latest\")\r\nRELEASES=$(curl --silent \"https://api.github.com/repos/${GITHUB_PACKAGE}/releases\")\r\n\r\nif [ -z \"${VERSION}\" ] || [ \"${VERSION}\" == \"latest\" ]; then\r\n    DOWNLOAD_URL=$(echo ${LATEST_JSON} | jq -r '.tarball_url')\r\nelse\r\n    VERSION_CHECK=$(echo ${RELEASES} | jq -r --arg VERSION \"${VERSION}\" '.[] | select(.tag_name==$VERSION) | .tag_name')\r\n    if [ \"${VERSION}\" == \"${VERSION_CHECK}\" ]; then\r\n        DOWNLOAD_URL=$(echo ${RELEASES} | jq -r --arg VERSION \"${VERSION}\" '.[] | select(.tag_name==$VERSION) | .tarball_url')\r\n    else\r\n        echo -e \"Could not find version \\\"${VERSION}\\\" of Muse. Defaulting to latest release...\"\r\n        DOWNLOAD_URL=$(echo ${LATEST_JSON} | jq -r '.tarball_url')\r\n    fi\r\nfi\r\n\r\n# Download Aoede from GitHub & Extract\r\ncd /mnt/server\r\necho -e \"Downloading Aoede from GitHub...\"\r\ncurl -L ${DOWNLOAD_URL} -o aoede.tar.gz\r\necho -e \"Extracting Aoede from tarball...\"\r\ntar -xvzf aoede.tar.gz --strip-components=1\r\nrm aoede.tar.gz\r\n\r\n# Verify and clean up Aoede installation\r\nif [ ! -f Cargo.toml ]; then\r\n    echo -e \"\\nFailed to download release: ${DOWNLOAD_URL}\\n\"\r\n    exit 1\r\nfi\r\nrm -rf .dockerignore Dockerfile .gitignore .github/\r\ncargo build --release\r\nmv target/release/aoede .\r\ncargo clean\r\n\r\n\r\necho -e \"\\nAoede Successfully Installed!\""}},"variables":[{"name":"Token","description":"Discord Bot Token","env_variable":"DISCORD_TOKEN","default_value":"","user_viewable":true,"user_editable":true,"rules":"required|string","field_type":"text"},{"name":"Username","description":"Spotify Username","env_variable":"SPOTIFY_USERNAME","default_value":"","user_viewable":true,"user_editable":true,"rules":"required|string","field_type":"text"},{"name":"Password","description":"Spotify Password","env_variable":"SPOTIFY_PASSWORD","default_value":"","user_viewable":true,"user_editable":true,"rules":"required|string","field_type":"text"},{"name":"Discord User ID","description":"Discord user ID of the user you want Aoede to follow","env_variable":"DISCORD_USER_ID","default_value":"","user_viewable":true,"user_editable":true,"rules":"required|string","field_type":"text"},{"name":"Autoplay","description":"Autoplay similar songs when your music ends \r\nValue : true/false","env_variable":"SPOTIFY_BOT_AUTOPLAY","default_value":"false","user_viewable":true,"user_editable":true,"rules":"required|string|in:true,false","field_type":"text"},{"name":"Version","description":"Specify a version, for example: \"v0.7.0\"\r\nFor the latest version, type \"latest\"","env_variable":"VERSION","default_value":"latest","user_viewable":true,"user_editable":true,"rules":"required|string","field_type":"text"}]},"readme":"# Aoede\n\n### Authors / Contributors\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n    <tr>\n        <td align=\"center\">\n            <a href=\"https://github.com/cleme29\">\n                <img src=\"https://avatars.githubusercontent.com/u/8092733\" width=\"50px;\" alt=\"\"/><br /><sub><b>cleme29</b></sub>\n            </a>\n            <br />\n            <a href=\"https://github.com/parkervcp/eggs/commits?author=cleme29\" title=\"Codes\">💻</a>\n            <a href=\"https://github.com/parkervcp/eggs/commits?author=cleme29\" title=\"Maintains\">🔨</a>\n        </td>       \n    </tr>\n</table>\n<!-- markdownlint-enable -->\n<!-- prettier-ignore-end -->\nSpecial thanks to Red-Thirten for providing most of the installation script and to TubaApollo & QuintenQVD0 for the Muse egg that helped build most of this one !\n\n## Their [Github](https://github.com/codetheweb/aoede)\n\nAoede is a Discord music bot that directly streams from Spotify to Discord. The only interface is Spotify itself.\n\n## Server Ports\n\nThere are no ports required for the Aoede bot\n"}