UniqueGiftModel
This object describes the model of a unique gift
This object describes the model of a unique gift.
Fields
| Field | Type | Required | Description |
|---|---|---|---|
name | String | Always | Name of the model |
sticker | Sticker | Always | The sticker that represents the unique gift |
rarity_per_mille | Integer | Always | The number of unique gifts that receive this model for every 1000 gift upgrades. Always 0 for crafted gifts. |
rarity | String | Optional | Rarity of the model if it is a crafted model. Currently, can be "uncommon", "rare", "epic", or "legendary". |
Botlify Cloud Runtime
Credentials are auto-injected in
Credentials are auto-injected in
.env — always load them with getenv(): BOT_TOKEN, ADMIN_CHAT_ID, BOT_USERNAME. Main database: database.db (SQLite, WAL mode). Runtime errors: error.log. Quick test: send to $ADMIN_CHAT_ID. Full details: Runtime Reference.