# World Cup Rivalry Bot — AI-Voiced Hype for Every Goal

> Source: <https://dev.to/gbolaww/world-cup-rivalry-bot-ai-voiced-hype-for-every-goal-2l71>
> Published: 2026-07-12 17:10:46+00:00

*This is a submission for Weekend Challenge: Passion Edition*

I built the **World Cup Rivalry Bot** — a Telegram bot for fans who want their World Cup rivalry to feel alive in their own group chat. You set your team and your rival, and whenever a real goal happens in the tournament, the bot fires back an AI-generated hype line in your team's voice — followed by an imagined clapback from the rival's fans, spoken in a completely different voice.

It works in DMs and in group chats, and each person in a group can root for their own team independently. Since World Cup passion isn't just about scoring — it's about the back-and-forth banter between rival fans — I wanted the bot to capture both sides of that rivalry, not just one team's celebration.

Try it on Telegram: [@worldcup_rivalry_bot](https://t.me/worldcup_rivalry_bot)

Quick flow:

`/start`

→ set your team (e.g. `/team Brazil`

)`/rival Argentina`

`/autohype`

→ the bot starts watching real World Cup 2026 results for both your team and your rival`/simulate`

or `/simulaterival`

→ instantly demo the celebration pipeline without waiting for a real goalGitHub: [https://github.com/Gbolaww/worldcup-rivalry-bot](https://github.com/Gbolaww/worldcup-rivalry-bot)

The bot is written in Go and runs as a single long-polling process against the Telegram Bot API, deployed on Railway.

A few decisions worth calling out:

`/autohype`

is on. Since that data isn't second-by-second live, I added `/simulate`

and `/simulaterival`

so the exact same detection-and-celebrate code path can be demoed instantly, without waiting on an actual goal.`gemini-1.5-flash`

and `gemini-2.0-flash`

were already fully deprecated by the time I built this, and ElevenLabs had recently locked free-tier API access to preset "library" voices — so most of Saturday went into just finding which models and voices were actually still available before I could write a single hype line.
