Skip to content

Commit 973a39f

Browse files
committed
Use convoke url directly from API response
1 parent d33ed20 commit 973a39f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1515

1616
- Added BOT_TOKEN to spellapi task definition.
1717
- Added 404 status code to retry ignore list.
18+
- Use the `url` parameter from Convoke API response directly.
1819

1920
## [v17.2.3](https://github.com/lexicalunit/spellbot/releases/tag/v17.2.3) - 2025-12-06
2021

src/spellbot/integrations/convoke.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ async def generate_link(game: GameDict) -> tuple[str | None, str | None]: # pra
147147

148148
if not data:
149149
return None, None
150-
game_id = data["id"]
150+
game_link = data["url"]
151151
game_pass = data.get("password") or key
152-
return f"https://www.convoke.games/en/play/private/{game_id}", game_pass
152+
return game_link, game_pass
153153

154154
return None, None

0 commit comments

Comments
 (0)