Created
January 9, 2019 22:28
-
-
Save Malarne/423ce21c7e986d14cf7f796cc969e029 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", | |
"meta": { | |
"version": "PTDL_v1" | |
}, | |
"exported_at": "2019-01-09T23:27:26+01:00", | |
"name": "Red-DiscordBot", | |
"author": "mail@malarne.fr", | |
"description": "Red-DiscordBot", | |
"image": "quay.io\/parkervcp\/pterodactyl-images:python3", | |
"startup": "python -m redbot --no-instance --owner {OWNER_UID} --token {BOT_TOKEN} --prefix {BOT_PREFIX}", | |
"config": { | |
"files": "{\r\n \"config\/config.json\": {\r\n \"parser\": \"json\",\r\n \"find\": {\r\n \"owner\": \"{{server.build.env.OWNER_UID}}\",\r\n \"token\": \"{{server.build.env.BOT_TOKEN}}\",\r\n \"log_file\": \"latest.log\"\r\n }\r\n }\r\n}", | |
"startup": "{\r\n \"done\": \"It works !\",\r\n \"userInteraction\": []\r\n}", | |
"logs": "{\r\n \"custom\": false,\r\n \"location\": \"logs\/latest.log\"\r\n}", | |
"stop": "^C" | |
}, | |
"scripts": { | |
"installation": { | |
"script": "#!\/bin\/ash\r\n\r\n# build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev\r\n# libncurses5-dev libncursesw5-dev xz-utils default-jre\r\n\r\napk update\r\ncd \/mnt\/server\/\r\nmkdir libraries\r\ncd libraries\r\n\r\npython -m ensurepip\r\npython -m pip install --upgrade pip setuptools\r\n\r\napk add make wget curl llvm tk-dev libffi-dev git unzip alpine-sdk\r\n\r\npython -m pip install -U --process-dependency-links --target $(pwd) --no-cache-dir Red-DiscordBot[voice]", | |
"container": "python:3.7-alpine3.7", | |
"entrypoint": "ash" | |
} | |
}, | |
"variables": [ | |
{ | |
"name": "Discord Bot Owner ID", | |
"description": "The Discord ID of the owner of the bot.\r\nSettings -> Appearance -> Developper mode -> Right click -> Copy ID to get it !", | |
"env_variable": "OWNER_UID", | |
"default_value": "99116871994859520", | |
"user_viewable": 0, | |
"user_editable": 0, | |
"rules": "required|string|max:32" | |
}, | |
{ | |
"name": "Discord Bot Token", | |
"description": "Get the app token from https:\/\/discordapp.com\/developers\/applications\/me", | |
"env_variable": "BOT_TOKEN", | |
"default_value": "None", | |
"user_viewable": 0, | |
"user_editable": 0, | |
"rules": "required|string|max:64" | |
}, | |
{ | |
"name": "Prefix", | |
"description": "Bot Prefix for using his commands", | |
"env_variable": "BOT_PREFIX", | |
"default_value": "!", | |
"user_viewable": 0, | |
"user_editable": 0, | |
"rules": "required|string|max:5" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
this egg is outdated