{"meta":{"slug":"red","name":"Red","category":"bots","source":"pterodactyl","owner":"pterodactyl","repo":"application-eggs","branch":"main","path":"bots/discord/redbot/egg-red.json","rawUrl":"https://raw.githubusercontent.com/pterodactyl/application-eggs/main/bots/discord/redbot/egg-red.json","indexedAt":1792246788483},"egg":{"_comment":"DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO","meta":{"update_url":null,"version":"PTDL_v2"},"exported_at":"2025-09-14T09:33:41+00:00","name":"Red","author":"parker@parkervcp.com","description":"A multifunction Discord bot \r\n\r\nhttps://github.com/Cog-Creators/Red-DiscordBot","features":null,"docker_images":{"ghcr.io/ptero-eggs/yolks:bot_red":"ghcr.io/ptero-eggs/yolks:bot_red"},"file_denylist":[],"startup":"PATH=$PATH:/home/container/.local/bin redbot pterodactyl --token {{TOKEN}} --prefix {{PREFIX}}","config":{"files":"{}","logs":"{}","startup":"{\r\n    \"done\": \"Invite URL:\"\r\n}","stop":"^C"},"scripts":{"installation":{"container":"python:3.11-slim","entrypoint":"bash","script":"#!/bin/bash\r\n# red-discordbot install script\r\n\r\n## install deps\r\nmkdir -p /usr/share/man/man1\r\napt update\r\napt -y install git ca-certificates dnsutils iproute2 make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev libgdbm-dev uuid-dev git\r\n\r\n## config folder layouts\r\necho -e \"generating config folder layout\"\r\nmkdir -p /mnt/server/.config/{Red-DiscordBot,share}/ /mnt/server/.local/share/Red-DiscordBot/data/pterodactyl/\r\ncd /mnt/server/\r\nln -s .local/share/Red-DiscordBot/data/pterodactyl/ ./configs\r\n\r\n## install red\r\necho -e \"add container user to install\"\r\nln -s /mnt/server/ /home/container\r\nuseradd -m -d /home/container container\r\nchown -R container /mnt/server/\r\necho -e \"install red locally as user\"\r\npip install --upgrade pip\r\nsu - container -c 'pip install -U pip wheel --no-warn-script-location'\r\nsu - container -c 'pip install -U Red-DiscordBot --no-warn-script-location'\r\n\r\n## ensure the config is in place if it doesn't exist\r\nif [ ! -f /mnt/server/.config/Red-DiscordBot/config.json ]; then\r\n    curl https://raw.githubusercontent.com/ptero-eggs/application-eggs/main/bots/discord/redbot/config.json -o /mnt/server/.config/Red-DiscordBot/config.json\r\nfi\r\n\r\necho \"-------------------------------------------------------\"\r\necho \"Installation completed\"\r\necho \"-------------------------------------------------------\""}},"variables":[{"name":"Discord Bot Token","description":"Get your own token here - https://discordapp.com/developers/applications/","env_variable":"TOKEN","default_value":"GET_YOUR_OWN","user_viewable":true,"user_editable":true,"rules":"required|string","field_type":"text"},{"name":"Command Prefix","description":"The prefix for commands from the bot.","env_variable":"PREFIX","default_value":".","user_viewable":true,"user_editable":true,"rules":"required|string","field_type":"text"},{"name":"Owner","description":"Owner of the Bot to use special commands","env_variable":"OWNER","default_value":"","user_viewable":true,"user_editable":true,"rules":"required|string|max:30","field_type":"text"}]},"readme":"# Red-DiscordBot\n\n## From their [Github](https://github.com/Cog-Creators/Red-DiscordBot)\n\nA multifunction Discord bot\n\n## Server Ports\n\nNo port are required to run Red.\n\nif you want to use the internal Lavalink Server, you need to allocate port 2333 as primary\n\n## Additional Requirements\n\nWhen using the Audio Cog the bot will attempt to save files to /tmp resulting in a disk space error.  You may also see this same error when attempting to install a cog, due to pip using /tmp to build the requirements.  To resolve this error you must increase the size of `tmpfs` using custom container policy.\n\nFor additional details see:\n<https://pterodactyl.io/wings/1.0/configuration.html#other-values>\n\n### Mods/Plugins may require ports to be added to the server\n"}