Fix snake draft Discord pick numbering and small UX tweaks #2

Merged
chrisp merged 3 commits from chore/draft-ux-tweaks into main 2026-05-22 04:18:12 +00:00
Showing only changes of commit 94ae720b08 - Show all commits

View file

@ -330,7 +330,7 @@ export async function getTopAvailableParticipant(
export function calculatePickInfo(
pickNumber: number,
teamCount: number
): { round: number; pickInRound: number; teamIndex: number } {
): { round: number; pickInRound: number; teamIndex: number; rawPickInRound: number } {
const round = Math.ceil(pickNumber / teamCount);
const rawPickInRound = ((pickNumber - 1) % teamCount) + 1;