DMcP89 / harambot

A Yahoo Fantasy Sports bot for Discord
MIT License
30 stars 18 forks source link

Matchup Command bug fix and enhancement #138

Closed DMcP89 closed 9 months ago

DMcP89 commented 9 months ago

Description

Reworked the get_matchup_details function to avoid errors when certain keys are missing from the matchup object returned from the API. Also made it more readable.

Added the parameter week to the matchup command that will allow users to fetch the matchups for a given week.

Types of Changes

Issues Fixed or Closed by This PR