Skip to main content
← Blog

August 26, 2026 · The Minely team

How to build a welcome cards bot with AI (image greetings)

A text welcome is fine; an image welcome card makes people screenshot it. Avatar, username, member number, on a branded background — it is the small luxury that makes a server feel designed. It is also an easy way to make a bot fall over if you build it carelessly, so here is the careful version.

What a welcome cards bot actually is

A welcome cards bot renders a personalized image for each new member — their avatar, name, and join number on a themed background — and posts it in the welcome channel, with a plain-text fallback for accessibility and slow days.

How it works under the hood

On join, the bot fetches the member's avatar, composes the card (background, avatar circle, name with font fallback, join number), and posts the image with a short text line. Rendering should be fast and font-safe: bundle a font, handle long names by shrinking, and degrade gracefully to text when rendering fails. Backgrounds are per-guild config with a couple of tiers for special members.

The prompt that builds it

You do not have to write this yourself. A precise description is enough:

a welcome bot that renders image cards with the member avatar, name, and join number, custom backgrounds per tier, and a text fallback

Name the commands, the permissions, and the exact messages players see. Precision here is what makes the first build land close.

Building it in the right order

  1. Set up the renderer with a bundled font and background.
  2. Compose the card: avatar, name, join number.
  3. Post the image with an accessible text line.
  4. Add per-tier backgrounds and a preview command.
  5. Harden the fallback and the rate-limit path for join floods.

The details that matter in production

In production, the first thing you learn is that the happy path is the easy half. The edges are where the work lives: restarts, protection interactions, full inventories, and players who treat every system like an exploit puzzle. Build for those from day one and the launch weekend is quiet instead of a fire drill.

Storage and cleanup deserve special attention. Write state as it changes rather than on shutdown, clear per-player state on quit and on world change, and make every admin-facing action leave an audit line. The first time something goes wrong, those records are the difference between a two-minute review and an evening of guessing.

Finally, test like a hostile user. Spam-click every GUI, rejoin mid-action, try the command with no permission and with every permission, and run it while the server is under load. The bugs that survive that pass are the ones worth shipping.

Tuning it after the first build

One strong default background beats five mediocre ones. Long usernames need auto-shrink or the card breaks publicly. During join floods, fall back to text for a stretch — rendering fifty cards a minute is how a bot dies in public.

Tips that save you a rebuild

  • Bundle the font; system fonts are never the same on the host as on your laptop.
  • Shrink long names instead of truncating; people are vain about their names.
  • Keep a text fallback always on; accessibility and rate limits both demand it.
  • Preview new backgrounds with a test command before they go live.

Questions people ask

Can boosters get special cards?

Yes — a per-tier background rule keyed on the boost role.

What about animated cards?

A GIF variant is possible with a heavier renderer; keep static as the default.

How heavy is rendering?

A few hundred milliseconds per card with a good library — fine outside floods.

Open the dashboard, paste the prompt from this guide, and watch it build live. The first one is free, and the source is yours either way.