DMcP89 / harambot

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

Waiver command fails when there are no transactions in previous 24 hours #121

Closed DMcP89 closed 1 year ago

DMcP89 commented 1 year ago

Describe the bug If there are no transactions within the commands look back period (24 hours) the command will hang and return an error

To Reproduce Steps to reproduce the behavior:

  1. Ensure no waiver transactions have taken place in the last 24 hours
  2. Run the waiver command

Expected behavior Bot should message that it did not find any transactions

DMcP89 commented 1 year ago

Fixed by https://github.com/DMcP89/harambot/commit/a00eca18751ff6bc884535eacc16460519050df9