Egg Repository

Pterodactyl Community Egg Repository

pixel-bot

A Discord bot written in Python using discord.py https://github.com/Ispira/pixel-bot

Read Me

pixelbot

Their Github

Bot for pixelcanvas.io

Server Ports

There are no ports required for pixelbot

Side notes

This was to make sure the parkervcp/images:python 3 image worked.

Yolks
NameTag
ghcr.io/ptero-eggs/yolks:python_3.7ghcr.io/ptero-eggs/yolks:python_3.7
Variables and Startup

Startup Command

/usr/local/bin/python bot.py

Variables

Owner Discord UID

The Discord UID of the bot owner.

Environment Variable: OWNER_UID
Default Value: copy from discord
User Viewable:
User Editable:
Discord Bot Token

Get the app token from https://discordapp.com/developers/applications/me

Environment Variable: BOT_TOKEN
Default Value: get from discord developers
User Viewable:
User Editable:
Bot Name

The name that you want set for the bot

Environment Variable: BOT_NAME
Default Value: Ispyra
User Viewable:
User Editable:
Imgur API ID

Add your Imgur API client_id if you want. https://api.imgur.com/oauth2/addclient

Environment Variable: IMGUR_KEY
Default Value:
User Viewable:
User Editable:
Imgur Secret

Add your Imgur API client_secret if you want. https://api.imgur.com/oauth2/addclient

Environment Variable: IMGUR_SECRET
Default Value:
User Viewable:
User Editable:
Install Script
#!/bin/ash
# Pixel Bot Installation Script
#
# Server Files: /mnt/server
apk add --no-cache git gcc g++ libffi-dev make

cd /mnt/server

echo "Cloning pixel-bot repo"
git clone https://github.com/Ispira/pixel-bot.git .

echo "Installing python requirements into folder"
pip install -U --target $(pwd) discord imgurpython xkcd pynacl


## install end
echo "-----------------------------------------"
echo "Installation completed..."
echo "-----------------------------------------"
Installation Imagepython:3.7-alpineInstallation Entrypointash