{"meta":{"slug":"corp-bot","name":"Corp Bot","category":"bots","source":"pterodactyl","owner":"pterodactyl","repo":"application-eggs","branch":"main","path":"bots/discord/corpbot/egg-corp-bot.json","rawUrl":"https://raw.githubusercontent.com/pterodactyl/application-eggs/main/bots/discord/corpbot/egg-corp-bot.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:10+00:00","name":"CorpBot","author":"parker@parkervcp.com","description":"A very clumsy python bot for discord \r\n\r\nhttps://github.com/corpnewt/CorpBot.py","features":null,"docker_images":{"ghcr.io/ptero-eggs/yolks:python_3.8":"ghcr.io/ptero-eggs/yolks:python_3.8"},"file_denylist":[],"startup":"/usr/local/bin/python Main.py","config":{"files":"{\r\n    \"settings_dict.json\": {\r\n        \"parser\": \"json\",\r\n        \"find\": {\r\n            \"token\": \"{{server.build.env.TOKEN}}\",\r\n            \"prefix\": \"{{server.build.env.PREFIX}}\"\r\n        }\r\n    }\r\n}","logs":"{}","startup":"{\r\n    \"done\": \"Logged in as\"\r\n}","stop":"^C"},"scripts":{"installation":{"container":"python:3.8-slim-bookworm","entrypoint":"bash","script":"#!/bin/bash\r\n# CoprBot Install Script\r\n#\r\n## create dir is it doesn't exist\r\nif [ ! -d /mnt/server/ ]; then\r\n    mkdir /mnt/server/\r\nfi\r\n\r\n## move to directory\r\ncd /mnt/server/\r\n\r\n## install deps\r\napt update\r\napt install -y git gcc curl\r\n\r\n## git clone \r\ngit clone https://github.com/corpnewt/CorpBot.py.git .\r\n\r\n## Modify Install.py to work properly in egg format\r\nmv Install.py Install.py.orig\r\nsed -n '/press enter to exit/q;p' Install.py.orig > Install.py\r\nsed -i 's/\"-U\"/\"-U\", \"--target\", \"\\/mnt\\/server\\/\"/g' Install.py\r\n\r\n## run Install.py script\r\npython Install.py\r\n\r\n## get config during install\r\nif [ ! -f /mnt/server/settings_dict.json ]; then\r\n    curl https://raw.githubusercontent.com/ptero-eggs/application-eggs/main/bots/discord/corpbot/settings_dict.json -o settings_dict.json\r\nfi\r\n\r\n\r\n## install end\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"}]},"readme":"# CorpBot.py\n\n## From their [Github](https://github.com/corpnewt/CorpBot.py)\n\nA very clumsy python bot for discord\n\n## Server Ports\n\nNo ports are required to run CorpBot. You can assign a random port to the bot.\n\n### Mods/Plugins may require ports to be added to the server\n"}