#!/bin/bash

mkdir -p "bots/$1"

cat <<EOF > "bots/$1/bot.json"
{
  "trigger": "!$1",
  "fingerprint": "$1",
  "messages": "$2",
  "gifs": "$1.gif"
}
EOF

if [[ -n "$3" ]]; then
  cp $3 "bots/$1/$1.gif"
fi

Add janky shell script for quickly making bots
Add janky shell script for quickly making bots
