fragbot

applications
Report Issue

The fragforce discord bot. located at https://github.com/fragforce/fragbot

Contributors:
README

fragbot

Their Github

The golang based discord bot for fragforce.

Runs the fragforce @fragbot

Server Ports

There are no ports required for fragbot

Docker Images (1)
Name Image
ghcr.io/ptero-eggs/yolks:alpine ghcr.io/ptero-eggs/yolks:alpine
Startup Command
./fragbot
Variables (1)

Discord Bot Token

The token that is to be used for the bot.

Environment:
DISCORD_TOKEN
Default:
ThisNeedsToBeChanged
User Viewable:
User Editable:
Rules:
required|string|max:128
Installation Script
Container: golang:1.12-alpine
Entrypoint: ash
#!/bin/ash
# fragbot Installation Script
#
# Server Files: /mnt/server
export GOPATH=$HOME/go
export PATH=$GOROOT/bin:$GOPATH/bin:$PATH

cd

apk add --no-cache --update git

echo "pulling the fragbot repo"

git clone https://github.com/fragforce/fragbot.git

cd fragbot/

go mod download

echo "building fragbot"

go build 

echo "build complete copying parkertron and example configs over"

cp fragbot /mnt/server/

if [ -f /mnt/server/config.json ]; then
    echo "config file exists already"
else
    cp -r /root/fragbot/config.example.json /mnt/server/config.json
fi

echo "Install complete. If you watched this. Congrats."