- 313 new markdown files created - 30 relationships embedded - 313 entries indexed - State initialized with usage data
13 lines
724 B
Markdown
13 lines
724 B
Markdown
---
|
|
id: 40da57ca-02da-48b1-9672-73a0e53c6b6e
|
|
type: solution
|
|
title: "Position validation missing in lineup sheet loading"
|
|
tags: [paper-dynasty, python, fix, discord-bot, position-validation]
|
|
importance: 0.7
|
|
confidence: 0.8
|
|
created: "2026-02-08T01:32:51.886765+00:00"
|
|
updated: "2026-02-08T01:32:51.886765+00:00"
|
|
---
|
|
|
|
Paper Dynasty discord bot: get_lineups_from_sheets reads position+card_id from Google Sheets but never validated if the player can actually play that position. Added check against player.pos_1-pos_8 fields. Also added PositionNotFoundException handling at all read_lineup call sites in cogs/gameplay.py. Error manifested as 'C ratings not found for 2024 Aaron Judge' when an outfielder was listed at Catcher.
|