fragbot
The fragforce discord bot. located at https://github.com/fragforce/fragbot
- updated
- variables
- 1
- images
- 1
- author
- parker@parkervcp.com
- sha256
- 013783624ebf
Readme
fragbot
Their Github
The golang based discord bot for fragforce.
Runs the fragforce @fragbot
Server Ports
There are no ports required for fragbot
Variables
1 setting
-
Discord Bot Token
The token that is to be used for the bot.
- env
- DISCORD_TOKEN
- default
- ThisNeedsToBeChanged
- rules
- required|string|max:128
- viewable
- editable
Installation script 34 lines container golang:1.12-alpine entrypoint ash show hide
#!/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."