|
1 | 1 | { |
2 | | - "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PANEL", |
| 2 | + "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", |
3 | 3 | "meta": { |
4 | 4 | "update_url": null, |
5 | 5 | "version": "PTDL_v2" |
6 | 6 | }, |
7 | | - "exported_at": "2024-06-01T19:44:05+00:00", |
| 7 | + "exported_at": "2025-09-14T09:33:41+00:00", |
8 | 8 | "name": "Red", |
9 | 9 | "author": "parker@parkervcp.com", |
10 | | - "description": "A multifunction Discord bot \r\n\r\nhttps://github.com/Cog-Creators/Red-DiscordBot", |
| 10 | + "description": "A multifunction Discord bot \r\n\r\nhttps:\/\/github.com\/Cog-Creators\/Red-DiscordBot", |
11 | 11 | "features": null, |
12 | 12 | "docker_images": { |
13 | | - "ghcr.io/ptero-eggs/yolks:bot_red": "ghcr.io/ptero-eggs/yolks:bot_red" |
| 13 | + "ghcr.io\/ptero-eggs\/yolks:bot_red": "ghcr.io\/ptero-eggs\/yolks:bot_red" |
14 | 14 | }, |
15 | 15 | "file_denylist": [], |
16 | | - "startup": "PATH=$PATH:/home/container/.local/bin redbot pterodactyl --token {{TOKEN}} --prefix {{PREFIX}}", |
| 16 | + "startup": "PATH=$PATH:\/home\/container\/.local\/bin redbot pterodactyl --token {{TOKEN}} --prefix {{PREFIX}}", |
17 | 17 | "config": { |
18 | 18 | "files": "{}", |
19 | 19 | "logs": "{}", |
|
24 | 24 | "installation": { |
25 | 25 | "container": "python:3.11-slim", |
26 | 26 | "entrypoint": "bash", |
27 | | - "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 openjdk-17-jre-headless\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'\r\nsu - container -c 'pip install -U Red-DiscordBot'\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 \"-------------------------------------------------------\"" |
| 27 | + "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 \"-------------------------------------------------------\"" |
28 | 28 | } |
29 | 29 | }, |
30 | 30 | "variables": [ |
31 | 31 | { |
32 | 32 | "name": "Discord Bot Token", |
33 | | - "description": "Get your own token here - https://discordapp.com/developers/applications/", |
| 33 | + "description": "Get your own token here - https:\/\/discordapp.com\/developers\/applications\/", |
34 | 34 | "env_variable": "TOKEN", |
35 | 35 | "default_value": "GET_YOUR_OWN", |
36 | 36 | "user_viewable": true, |
|
0 commit comments