# Porting a Discord Bot to Microsoft Teams with GitHub Copilot CLI

DevFeed: [Porting a Discord Bot to Microsoft Teams with GitHub Copilot CLI](<https://devfeed.tech/articles/porting-a-discord-bot-to-microsoft-teams-entirely-with-ai-31471.md>)

Original publisher: [Read original article](<https://code.dblock.org/2026/09/16/porting-strata-to-microsoft-teams-entirely-with-ai.html>)

Author: Daniel Doubrovkine (dblock@dblock.org)

Published: 2026-09-16T00:00:00Z

Content type: article

Language: en

Sources: [Daniel Doubrovkine](<https://devfeed.tech/sources/daniel-doubrovkine.md>)

Topics: [GitHub Copilot CLI](<https://devfeed.tech/topics/github-copilot-cli.md>), [Microsoft Teams](<https://devfeed.tech/topics/microsoft-teams.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [Discord](<https://devfeed.tech/topics/discord.md>), [AdventureX 2025](<https://devfeed.tech/topics/adventurex2025.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [discord](<https://devfeed.tech/tags/discord.md>), [github-copilot-cli](<https://devfeed.tech/tags/github-copilot-cli.md>), [hackathon](<https://devfeed.tech/tags/hackathon.md>), [microsoft-teams](<https://devfeed.tech/tags/microsoft-teams.md>), [porting](<https://devfeed.tech/tags/porting.md>), [ruby](<https://devfeed.tech/tags/ruby.md>), [strava](<https://devfeed.tech/tags/strava.md>)

## AI overview

The article compares a manual 2023 port of a Strava chat bot from Slack to Discord with a 2026 port to Microsoft Teams completed with GitHub Copilot CLI. The Teams port took three days and involved authentication, app-manifest, tenant distribution, and Azure setup work.

## Source excerpt

Slava (slack-strava) connects a Strava account to a chat and posts a card for every activity, complete with map, pace, and elevation, plus commands like connect, disconnect, stats, and leaderboard. In 2023 I ported Slava to Discord by hand, evening by evening over about three weeks, and it took most of that stretch to get a working bot called Strada (discord-strava). This week I ported the same app to Microsoft Teams as Strata (teams-strava) in 3 days instead of the 3 weeks the Discord port took, using time carved out during the Microsoft Global Hackathon. By "I", I mean GitHub Copilot CLI and I. The 2023 Baseline discord-strava's git history is a fair record of how long a manual port takes. The first commit, "Initial fork from slack-strava," landed July 30, 2023. "Most interactions working" was three days later. Getting install/help/error-handling polish took through August 20: 2023-07-30 23:56 Initial fork from slack-strava. 2023-08-02 23:46 Most interactions working. 2023-08-03 06:18 Remove PNG retrieval, Discord displays redirects correctly. 2023-08-03 06:26 Removed clubs. 2023-08-03 08:28 Fixed model specs. 2023-08-03 18:20 Fix API specs. 2023-08-04 19:44 Fix command specs. ... 2023-08-08 10:34 Countinously poll with 1 minute intervals. 2023-08-20 22:59 Improved install button and text. 20 commits spread across 9 evenings over roughly three weeks (there's a real job and a life in between those timestamps). All hand-typed, with GitHub Copilot's inline autocomplete helping the way it helped everyone in 2023, but no agent driving the actual porting work. The 2026 Port teams-strava's git history is a single continuous Copilot CLI session, 107 conversational turns over three calendar days, and the timestamps compress dramatically: 2026-09-14 11:05 Initial port of discord-strava to Microsoft Teams 2026-09-14 16:39 Fix local dev setup and personal-scope install handling 2026-09-14 16:43 Fix 400 error replying to personal-scope install notice 2026-09-15 08:29 Document