Harvest & Replay
Harvest scans your server’s message history and saves metadata to a file - who sent what, when, in which channel. No message content is recorded.
Replay feeds that harvested data through the leveling system as if the messages were sent live. Members receive XP retroactively based on your current (or newly changed) configuration.
When to use this
Section titled “When to use this”- You added Lumistra to an established server and want members to get credit for past activity
- You changed your XP configuration and want everyone’s levels recalculated under the new rules
- You’re migrating from another bot and want real historical activity to count
- You want to test different XP curves before settling on one
Step 1: Harvest
Section titled “Step 1: Harvest”/harvest days:30Scans the last 30 days of server history. Maximum 365 days. The bot saves a JSONL file with message metadata and posts progress updates as it runs.
Only one harvest or replay can run per server at a time, and there’s a 5-minute cooldown between operations.
Pass include_archived:True to also scan archived threads. On large servers this can be slow.
Step 2: Replay
Section titled “Step 2: Replay”/replay harvest_file:harvest-123456-2026-03-01-30d.jsonlThe filename appears in the harvest completion message.
Cooldowns during replay: By default, enforce_cooldowns is false - every message earns XP regardless of timing. That’s usually what you want for retroactive catch-up. Set enforce_cooldowns:True to simulate real cooldown behavior instead.
When replay finishes, the bot automatically runs lifecycle stage recalculation and streak backfill for all affected members.
Duplicate detection
Section titled “Duplicate detection”Replaying the same file twice won’t double-count XP - the bot warns you and asks for confirmation before proceeding. If you’re iterating on configurations, resetting between replays is safer than relying on deduplication.
Resetting between runs
Section titled “Resetting between runs”/replay-resetRemoves XP events and user levels, leaving you with a clean slate for the next replay run.
Both modes require you to confirm via a button press before anything is deleted.
A typical workflow
Section titled “A typical workflow”/harvest days:90- gather 90 days of history/replay harvest_file:<filename>- replay with current config- Check
/leaderboard- do the levels look right? - If not:
/replay-reset→ adjust config with/config set→/replaywith the same file - Repeat until satisfied
The harvest file stays on disk between runs, so you don’t need to re-harvest each time you iterate.