Egg Repository

Pterodactyl Community Egg Repository

CorpBot

A very clumsy python bot for discord https://github.com/corpnewt/CorpBot.py

Read Me

CorpBot.py

From their Github

A very clumsy python bot for discord

Server Ports

No ports are required to run CorpBot. You can assign a random port to the bot.

Mods/Plugins may require ports to be added to the server

Yolks
NameTag
ghcr.io/ptero-eggs/yolks:python_3.8ghcr.io/ptero-eggs/yolks:python_3.8
Variables
NameDescriptionEnvironment VariableDefault ValueUser ViewableUser Editable
Discord Bot TokenGet your own token here - https://discordapp.com/developers/applications/TOKENGET_YOUR_OWNYesYes
Command PrefixThe prefix for commands from the bot.PREFIX.YesYes
Install Script
#!/bin/bash
# CoprBot Install Script
#
## create dir is it doesn't exist
if [ ! -d /mnt/server/ ]; then
    mkdir /mnt/server/
fi

## move to directory
cd /mnt/server/

## install deps
apt update
apt install -y git gcc curl

## git clone 
git clone https://github.com/corpnewt/CorpBot.py.git .

## Modify Install.py to work properly in egg format
mv Install.py Install.py.orig
sed -n '/press enter to exit/q;p' Install.py.orig > Install.py
sed -i 's/"-U"/"-U", "--target", "\/mnt\/server\/"/g' Install.py

## run Install.py script
python Install.py

## get config during install
if [ ! -f /mnt/server/settings_dict.json ]; then
    curl https://raw.githubusercontent.com/ptero-eggs/application-eggs/main/bots/discord/corpbot/settings_dict.json -o settings_dict.json
fi


## install end
echo "-----------------------------------------"
echo "Installation completed..."
echo "-----------------------------------------"