mirror of
https://github.com/pret/pokegold.git
synced 2026-08-09 11:47:26 -05:00
To do: revise hooh_gold.png and lugia_silver.png to resemble their screens, and use rgbgfx options to match the 2bpp tiles
16 lines
465 B
Bash
Executable File
16 lines
465 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
root="$(readlink -e "$(dirname "$0")/..")"
|
|
|
|
# Report unnamed symbols
|
|
content="$("$root/tools/unnamed.py" -r "$root" "$root/pokegold.sym" | head)"
|
|
|
|
curl -H 'Content-Type: application/json' -X POST "$POKEGOLD_DISCORD_WEBHOOK_URL" -d@- << EOF
|
|
{
|
|
"username": "$POKEGOLD_DISCORD_WEBHOOK_USERNAME",
|
|
"avatar_url": "$POKEGOLD_DISCORD_WEBHOOK_AVATAR_URL",
|
|
"content": "\`\`\`$(echo "$content" | sed -E ':a;N;$!ba;s/\r{0,1}\n/\\n/g')\`\`\`"
|
|
}
|
|
EOF
|