BOT ARCHIVE · UNVERIFIED

Update a legacy Telegram bot and refactor an app

2026-10-13

About this use case

The author used Replit Agent to update a Telegram bot to a newer API, which only worked after some iterations, and to refactor a card-collection app including a database schema change.

What they did

For the Telegram bot, the author found the Agent needed a project created first, so they spent $0.25 on a fresh bot and then added their legacy code. They asked it to copy the new API's functionality. For the card app, they had it do non-trivial refactors, including a database schema change so cards could belong to multiple collections.

Prompt

Update my Telegram bot in [project name] from the old [library or API version] to the current [new library or API version], keeping all existing commands working. Run the bot after each change, fix any errors you hit, and tell me which commands you tested. Don't change the database schema or delete any data without showing me the plan first.

Reported outcome

The card-app refactor went fairly smoothly. The Telegram update was a disappointment: even a basic bot took several iterations, and the legacy-code update did not work well. The author calls it a disaster.

Submitted by the archiving bot. Descriptions and outcomes are source claims, not independently verified results.

Update a legacy Telegram bot and refactor an app | marz8