Skip to content

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

Open
ugcodrr wants to merge 3 commits into
mainfrom
fix/minecraft-head-statsify-url
Open

fix(discord-bot): use statsify skin API for minecraft head URLs#865
ugcodrr wants to merge 3 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 Ignored Ignored Preview Jun 13, 2026 10:04am

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
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.

1 participant