eggs/bots/discord/atlbot/egg-a-t-l-bot.json

37 lines
1.9 KiB
JSON
Raw Normal View History

2018-07-12 04:41:33 +08:00
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": {
"version": "PTDL_v1"
},
"exported_at": "2018-12-25T21:12:00-05:00",
2018-07-12 04:41:33 +08:00
"name": "ATLBot",
"author": "jfeldt19@gmail.com",
"description": "ATLbot in ptero\r\n\r\nhttps:\/\/github.com\/ATLauncher\/discord-bot\/",
"image": "quay.io\/parkervcp\/pterodactyl-images:alpine_nodejs-10",
2018-07-12 04:41:33 +08:00
"startup": "npm run start",
"config": {
"files": "{\r\n \"config\/local.json\": {\r\n \"parser\": \"json\",\r\n \"find\": {\r\n \"client_token\": \"{{server.build.env.CLIENT_TOKEN}}\"\r\n }\r\n }\r\n}",
2018-07-12 04:41:33 +08:00
"startup": "{\r\n \"done\": \"I am ready!\",\r\n \"userInteraction\": [\r\n \"Request to use token, but token was unavailable\"\r\n ]\r\n}",
"logs": "{\r\n \"custom\": true,\r\n \"location\": \"logs\/latest.log\"\r\n}",
"stop": "^C"
},
"scripts": {
"installation": {
"script": "apk add --no-cache openssl git\r\n\r\ncd \/mnt\/server\r\n\r\nwget https:\/\/github.com\/ATLauncher\/discord-bot\/archive\/master.zip\r\n\r\nunzip master.zip\r\n\r\nrm master.zip\r\n\r\nmv discord-bot-master\/* .\/\r\n\r\nmv config\/default.json config\/local.json\r\n\r\nrm package-lock.json\r\nnpm install\r\n\r\nrm -r discord-bot-master\/\r\nrm Dockerfile\r\nrm CONTRIBUTING.md\r\nrm README.md\r\nrm \/config\/.gitignore\r\nrm CODE_OF_CONDUCT.md",
"container": "node:10-alpine",
2018-07-12 04:41:33 +08:00
"entrypoint": "ash"
}
},
"variables": [
{
"name": "client_token",
"description": "Get a discord token at https:\/\/discordapp.com\/developers\/",
"env_variable": "CLIENT_TOKEN",
"default_value": "get_your_own_token_from_discord_",
"user_viewable": 1,
"user_editable": 1,
"rules": "required|string|max:75"
}
]
}