Fantasy Football Statistics Bot

Reads fantasy football league data from ESPN's Fantasy Football API v3, and then calculates interesting team and individual player metrics and posts them to Discord on command. Click to view file

Output

League Name - NFL Week 10
💪 Over-performer 💪 - Name1 scored 128.6% of his projected score
😴 Under-performer 😴 - Name2 scored 58.4% of his projected score
🏆 Best Manager 🏆 - Name3 left only 5.5 points on his bench
🚮 Worst Manager 🚮 - Name4 left 84.6 points on his bench
😂 Biggest Win 😂 - Name5 beat Name4 by 63.3 points
😨 Narrowest Win 😨 - Name6 beat Name7 by 4.2 points
👑 Highest Score 👑 - Name5 scored 165.1 points
💀 Lowest Score 💀 - Name2 only scored 79.8 points
🏈 Top QB 🏈 - Lamar Jackson scored 36.4 points for Name5
🏈 Top RB 🏈 - Derrick Henry scored 35.4 points for Name5
🏈 Top WR 🏈 - Christian Kirk scored 37.8 points for Name8
🏈 Top TE 🏈 - Mark Andrews scored 23.3 points for Name9
🏈 Top Flex 🏈 - Jarvis Landry scored 24.7 points for Name10
🏈 Top Defense 🏈 - Steelers D/ST scored 26.0 points for Name10
🏈 Top Kicker 🏈 - Harrison Butker scored 14.0 points for Name5
💩 Benchwarmer 💩 - Name3 wasted Darius Slayton's 34.1 points