No description
Find a file
2026-04-09 23:01:44 -04:00
canvas move assets to their own repo 2026-04-05 14:17:37 -04:00
fonts move assets to their own repo 2026-04-05 14:17:37 -04:00
images Add Gacha Pull GIF 2026-04-09 23:01:44 -04:00
avatar-border.svg move assets to their own repo 2026-04-05 14:17:37 -04:00
avatarWrap.png move assets to their own repo 2026-04-05 14:17:37 -04:00
background.png move assets to their own repo 2026-04-05 14:17:37 -04:00
barcode.png move assets to their own repo 2026-04-05 14:17:37 -04:00
bottomstripe.png move assets to their own repo 2026-04-05 14:17:37 -04:00
decor.png move assets to their own repo 2026-04-05 14:17:37 -04:00
dots-2.png move assets to their own repo 2026-04-05 14:17:37 -04:00
dots.png move assets to their own repo 2026-04-05 14:17:37 -04:00
empt_background.png move assets to their own repo 2026-04-05 14:17:37 -04:00
empty.png move assets to their own repo 2026-04-05 14:17:37 -04:00
emptybox.png move assets to their own repo 2026-04-05 14:17:37 -04:00
endfield.png move assets to their own repo 2026-04-05 14:17:37 -04:00
lines_or_something.png move assets to their own repo 2026-04-05 14:17:37 -04:00
OperatorCard_bottomDecor.png move assets to their own repo 2026-04-05 14:17:37 -04:00
qrcodethingy.png move assets to their own repo 2026-04-05 14:17:37 -04:00
rarity.png move assets to their own repo 2026-04-05 14:17:37 -04:00
README.md move assets to their own repo 2026-04-05 14:17:37 -04:00
skill_indicator.svg move assets to their own repo 2026-04-05 14:17:37 -04:00
skillborder.png move assets to their own repo 2026-04-05 14:17:37 -04:00
weapon_border.png move assets to their own repo 2026-04-05 14:17:37 -04:00
weaponbox.png move assets to their own repo 2026-04-05 14:17:37 -04:00
weaponlevels.png move assets to their own repo 2026-04-05 14:17:37 -04:00
x.png move assets to their own repo 2026-04-05 14:17:37 -04:00

Assets Folder

This folder contains resources used for generating character cards with Canvas.

Folder Structure

  • fonts/ - Custom fonts for text rendering
  • images/ - Background images, textures, and other visual assets

For optimal character card rendering, add these fonts to the fonts/ directory:

  • Inter-Bold.ttf - Used for headings and important text
  • Inter-Regular.ttf - Used for body text

You can download Inter fonts from:

Installation

  1. Download the font files (.ttf format)
  2. Place them in the fonts/ directory:
    • assets/fonts/Inter-Bold.ttf
    • assets/fonts/Inter-Regular.ttf
  3. The bot will automatically load and use these fonts

Fallback Fonts

If custom fonts are not available, the system will fall back to:

  • Arial - Standard sans-serif font
  • sans-serif - System default

Image Assets

You can add custom images to the images/ directory for:

  • Background overlays
  • Decorative elements
  • Custom badges or icons

Notes

  • Fonts are optional but highly recommended for better typography
  • The bot checks for font files at startup and loads them if available
  • All assets are loaded from the filesystem, not embedded in the code