Skip to content

fix(discord-bot): use statsify skin API for minecraft head URLs - #865

Merged
jacobk999 merged 4 commits into
mainfrom
fix/minecraft-head-statsify-url
Jun 16, 2026
Merged

fix(discord-bot): use statsify skin API for minecraft head URLs#865
jacobk999 merged 4 commits into
mainfrom
fix/minecraft-head-statsify-url

Conversation

@ugcodrr

@ugcodrr ugcodrr commented May 31, 2026

Copy link
Copy Markdown
Member
  • Replaces crafatar.com in minecraftHeadUrl with https://api.statsify.net/skin/head
  • Adds an optional size parameter (defaults to 160) to match the API's interface
  • Draws skin onto Canvas and then attaches to avoid leaking URL and protect from Discord DOS

Tested with uuid, available and socials!

@vercel

vercel Bot commented May 31, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
statsify Skipped Skipped Jun 16, 2026 1:13am

Replace crafatar.com with the statsify skin/head endpoint for consistency with the rest of the codebase.
@jacobk999
jacobk999 force-pushed the fix/minecraft-head-statsify-url branch 2 times, most recently from 1f7460f to f8acddf Compare June 8, 2026 23:21
* updated commands to use minecraftHeadAttachment for player heads
* ensures player head images are sent as attachments in embeds
@ugcodrr
ugcodrr marked this pull request as ready for review June 13, 2026 10:04
@ugcodrr
ugcodrr requested a review from jacobk999 June 13, 2026 10:25
@jacobk999
jacobk999 merged commit c51c012 into main Jun 16, 2026
9 checks passed
@jacobk999
jacobk999 deleted the fix/minecraft-head-statsify-url branch June 16, 2026 01:16
ugcodrr added a commit that referenced this pull request Jun 16, 2026
Co-authored-by: jacobk999 <jababakoshy@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants