pixel-bot

applications
Report Issue

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

Contributors:
README

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.

Docker Images (1)
Name Image
ghcr.io/ptero-eggs/yolks:python_3.7 ghcr.io/ptero-eggs/yolks:python_3.7
Startup Command
/usr/local/bin/python bot.py
Variables (5)

Owner Discord UID

The Discord UID of the bot owner.

Environment:
OWNER_UID
Default:
copy from discord
User Viewable:
User Editable:
Rules:
required|string|max:32

Discord Bot Token

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

Environment:
BOT_TOKEN
Default:
get from discord developers
User Viewable:
User Editable:
Rules:
required|string|max:128

Bot Name

The name that you want set for the bot

Environment:
BOT_NAME
Default:
Ispyra
User Viewable:
User Editable:
Rules:
required|string|max:20

Imgur API ID

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

Environment:
IMGUR_KEY
Default:
None
User Viewable:
User Editable:
Rules:
nullable|string|max:64

Imgur Secret

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

Environment:
IMGUR_SECRET
Default:
None
User Viewable:
User Editable:
Rules:
nullable|string|max:20
Installation Script
Container: python:3.7-alpine
Entrypoint: ash
#!/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 "-----------------------------------------"