Kojima Bot is designed to be re-skinned without touching core source files. You can rename the catchable entity, swap every piece of spawn artwork, add your own meme image slash commands, and tune how frequently spawns occur — all through environment variables, image file replacements, and Discord commands.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/noskap/kojima-bot/llms.txt
Use this file to discover all available pages before exploring further.
Renaming the entity
SetENTITY_NAME in your .env file to change the name that appears everywhere the bot displays the catchable thing — spawn embed titles, catch confirmation messages, command descriptions, and the /profile header:
ENTITY_NAME is not set, it defaults to "Cat". The .env.example ships with Kojima as an illustrative value.
By default, the catch trigger phrase is the lowercased value of ENTITY_NAME (so ENTITY_NAME=Kojima means users type kojima to catch). If you want a different phrase — for example, a nickname or a longer sentence — set CATCH_TRIGGER explicitly:
Replacing spawn artwork
Spawn images live inassets/images/spawn/. Each rarity definition in src/lib/rarities.ts carries a fileKey string. When the bot prepares a spawn embed it resolves the image path like this:
- Look for
assets/images/spawn/<fileKey>.jpg(or.jpeg,.png,.webp) - If not found, also try
assets/images/spawn/<fileKey>_cat.jpg(legacy fallback stem) - Supported extensions in priority order:
.jpg,.jpeg,.png,.webp
assets/images/spawn/<fileKey>.jpg (or any supported extension). The bot picks it up on the next spawn — no restart required for the file itself, though a restart is needed if you are also changing code.
The full table of rarities and their fileKey values:
| Display name | fileKey | Weight |
|---|---|---|
| Stylish | stylish | 900 |
| Sick | sick | 700 |
| Matrix | matrix | 550 |
| Super | super | 400 |
| Drunk | drunk | 320 |
| Banana | banana | 260 |
| Chicken Hat | chicken_hat | 220 |
| Disguised | disguised | 200 |
| Crowbar | crowbar | 180 |
| Exercise | exercise | 150 |
| Valve | valve | 140 |
| Combat | combat | 130 |
| Mocap | mocap | 110 |
| Broken | broken | 95 |
| Rare | rare | 85 |
| Russian | russian | 75 |
| Porter | porter | 45 |
| Alien | alien | 40 |
| Sushi | sushi | 30 |
| Mexican | mexican | 25 |
| Burger | burger | 18 |
| Weed | weed | 12 |
Adjusting spawn intervals
Spawn timing is stored per-channel in the database. The defaults (60 s minimum, 450 s maximum) are written when/kojima setup is first run in a channel.
To change the interval for any channel at runtime, use the /kojima interval command directly in Discord (requires Manage Channels permission):
spawn_times_min and spawn_times_max values immediately — no restart needed.
Adding meme images
Drop image files intoassets/images/meme/, then re-register slash commands and restart the bot:
Fallback image
If a rarity’s asset file is missing entirely, the bot applies a two-stage fallback:- It tries the first rarity in the
RARITIESlist (stylish) instead. - If that file is also missing, it falls back to
assets/images/cat.png.
assets/images/cat.png present at all times to ensure spawns never silently fail with a broken attachment.