Daniel Doubrovkine (dB.)5 min readintermediate
Porting a Discord Bot to Microsoft Teams, Entirely With AI
Summary
The author used GitHub Copilot CLI to port a Strava bot from Discord to Microsoft Teams in three days, a ~7× speedup over the three‑week manual effort. The post details token usage, cost, bugs that slipped through, and stresses that good test coverage is still essential.
- Copilot CLI completed the Discord‑to‑Teams bot port in 3 days versus 3 weeks manually, roughly a 7× speedup.
- The AI handled unfamiliar Azure/Entra auth, Teams manifest creation, and deployment steps, saving learning time.
- Session used 659 API calls, ~272k output tokens and ~72.8M input tokens (mostly cache reads), costing about $25‑30 at public model rates.
- Bugs like adaptive‑card limits and missing rubyzip surfaced only in production, underscoring the need for thorough test coverage.
Engineers evaluating AI‑assisted development for cross‑platform migrations and unfamiliar cloud services will see realistic productivity gains and the importance of testing.
6/10


